#9D0DFD

A color in the Purple, Crimson, Magenta family

#9d0dfd is a color in the Purple, Crimson, Magenta family: RGB(157, 13, 253), HSL(276°, 98%, 52%), CMYK(38%, 95%, 0%, 1%). Closest named color: blueviolet. Contrast is 5.37:1 on white and 3.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9d0dfd
RGBrgb(157 13 253)
RGB (legacy)rgb(157, 13, 253)
RGB %rgb(62% 5% 99%)
HSLhsl(276 98% 52%)
HSV / HSBhsv(276, 95%, 99%)
HWBhwb(276 5% 1%)
CMYKcmyk(38%, 95%, 0%, 1%)
CIELAB (D50)lab(43.86 76.61 -86.7)
LCHlch(43.86 115.7 311.46)
OKLaboklab(0.5656 0.1603 -0.2438)
OKLCHoklch(0.5656 0.2918 303.33)
Decimal10292733

Properties

Color TonePurple, Crimson, Magenta
Closest named colorblueviolet ΔE 5.3
Closest web-safe color#9900ff
Hue276°
Saturation (HSL / HSV)98% / 95%
Lightness (HSL)52%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)33% / 24%
Relative luminance (WCAG)0.1455
Red / Green / Blue157 / 13 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.37:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.91: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 74.5 / -27.2 · As background with white / black text: Lc -79.9 / 29.6

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: #9d0dfd;
  --color-brand-oklch: oklch(56.56% 0.2918 303.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(157 13 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9d0dfd] text-[#9d0dfd] border-[#9d0dfd]">