#7D0DFD

A color in the Violet family

#7d0dfd is a color in the Violet family: RGB(125, 13, 253), HSL(268°, 98%, 52%), CMYK(51%, 95%, 0%, 1%). Closest named color: blueviolet. Contrast is 6.27:1 on white and 3.35:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7d0dfd
RGBrgb(125 13 253)
RGB (legacy)rgb(125, 13, 253)
RGB %rgb(49% 5% 99%)
HSLhsl(268 98% 52%)
HSV / HSBhsv(268, 95%, 99%)
HWBhwb(268 5% 1%)
CMYKcmyk(51%, 95%, 0%, 1%)
CIELAB (D50)lab(39.25 72.61 -94.49)
LCHlch(39.25 119.17 307.54)
OKLaboklab(0.5283 0.113 -0.2654)
OKLCHoklch(0.5283 0.2884 293.06)
Decimal8195581

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 5.5
Closest web-safe color#6600ff
Hue268°
Saturation (HSL / HSV)98% / 95%
Lightness (HSL)52%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)29% / 21%
Relative luminance (WCAG)0.1174
Red / Green / Blue125 / 13 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 78.9 / -22.9 · As background with white / black text: Lc -84.2 / 25.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7d0dfd;
  --color-brand-oklch: oklch(52.83% 0.2884 293.06);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(125 13 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7d0dfd] text-[#7d0dfd] border-[#7d0dfd]">