#9F84EA#9F84EA

#9F84EA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.1% C 0.148 H 294.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9F84EA
RGBrgb(159, 132, 234)
HSLhsl(256, 71%, 72%)
HSVhsv(256, 44%, 92%)
CMYKcmyk(32.1%, 43.6%, 0%, 8.2%)
CIE-LABlab(61.49, 32.36, -48.07)
CIE-LCHlch(61.49, 57.94, 303.95°)
OKLaboklab(68.1% 0.061 -0.135)
OKLCHoklch(68.1% 0.148 294.3)
XYZxyz(37.3969, 29.8133, 81.6102)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F84EA #CFEA84
analogous
#849CEA #9F84EA #D284EA
triadic
#9F84EA #EA9F84 #84EA9F
tetradic
#9F84EA #EA849C #CFEA84 #84EAD2
square
#9F84EA #EA849C #CFEA84 #84EAD2
split-complementary
#9F84EA #EAD284 #9CEA84
monochromatic
#5124D0 #7650E1 #9F84EA #C8B8F3 #EBE5FB

Accessibility & contrast

On white

3.02
#9F84EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#9F84EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F84EA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F84EA#FFFFFF#000000##000000
##9F84EA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#8E97AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f84ea;
/* rgb */ color: rgb(159, 132, 234);
/* oklch */ color: oklch(68.1% 0.148 294.3);
Tailwind
colors: {
  custom: {
    50: '#bea8f1',
    500: '#9f84ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f84ea;
$custom-light: #bea8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f84ea",
  "rgb": {
    "r": 159,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 255.882,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.14815,
    "h": 294.3
  },
  "luminance": 0.29814
}

Semantic roles & 50–950 ramp

primary
#9F84EA
secondary
#EBF2D8
accent
#D313A0
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9F84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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