#9E72CD#9E72CD

#9E72CD is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.3% C 0.139 H 305.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9E72CD
RGBrgb(158, 114, 205)
HSLhsl(269, 48%, 63%)
HSVhsv(269, 44%, 80%)
CMYKcmyk(22.9%, 44.4%, 0%, 19.6%)
CIE-LABlab(55.80, 35.20, -40.80)
CIE-LCHlch(55.80, 53.88, 310.79°)
OKLaboklab(63.33% 0.0799 -0.1139)
OKLCHoklch(63.33% 0.139 305.1)
XYZxyz(31.1350, 23.7117, 60.6823)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E72CD #A1CD72
analogous
#7273CD #9E72CD #CC72CD
triadic
#9E72CD #CD9E72 #72CD9E
tetradic
#9E72CD #CD7273 #A1CD72 #72CDCC
square
#9E72CD #CD7273 #A1CD72 #72CDCC
split-complementary
#9E72CD #CDCC72 #73CD72
monochromatic
#613391 #7F45BD #9E72CD #BD9FDD #DCCCED

Accessibility & contrast

On white

3.66
#9E72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9E72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E72CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E72CD#FFFFFF#000000##000000
##9E72CD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#978196
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e72cd;
/* rgb */ color: rgb(158, 114, 205);
/* oklch */ color: oklch(63.3% 0.139 305.1);
Tailwind
colors: {
  custom: {
    50: '#bc9bdc',
    500: '#9e72cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e72cd;
$custom-light: #bc9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e72cd",
  "rgb": {
    "r": 158,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 269.011,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63327,
    "c": 0.13911,
    "h": 305.1
  },
  "luminance": 0.23712
}

Semantic roles & 50–950 ramp

primary
#9E72CD
secondary
#CEDEBD
accent
#BB2B75
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9E72CD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E72CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva