#9F72EA#9F72EA

#9F72EA is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.0% C 0.176 H 298.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9F72EA
RGBrgb(159, 114, 234)
HSLhsl(263, 74%, 68%)
HSVhsv(263, 51%, 92%)
CMYKcmyk(32.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(57.41, 42.51, -54.55)
CIE-LCHlch(57.41, 69.16, 307.93°)
OKLaboklab(65.05% 0.0844 -0.1539)
OKLCHoklch(65.05% 0.176 298.7)
XYZxyz(35.1631, 25.3457, 80.8656)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F72EA #BDEA72
analogous
#7281EA #9F72EA #DB72EA
triadic
#9F72EA #EA9F72 #72EA9F
tetradic
#9F72EA #EA7281 #BDEA72 #72EADB
square
#9F72EA #EA7281 #BDEA72 #72EADB
split-complementary
#9F72EA #EADB72 #81EA72
monochromatic
#5C1DC4 #7B3DE2 #9F72EA #C3A7F2 #E8DDFA

Accessibility & contrast

On white

3.46
#9F72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9F72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F72EA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F72EA#FFFFFF#000000##000000
##9F72EA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#5289E7
Tritanopia (blue-blind)
#8F89A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f72ea;
/* rgb */ color: rgb(159, 114, 234);
/* oklch */ color: oklch(65.0% 0.176 298.7);
Tailwind
colors: {
  custom: {
    50: '#bf9cf1',
    500: '#9f72ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f72ea;
$custom-light: #bf9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f72ea",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 262.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65046,
    "c": 0.17557,
    "h": 298.7
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#9F72EA
secondary
#E0EECA
accent
#D60F8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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