#9861EE#9861EE

#9861EE is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.204 H 298.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9861EE
RGBrgb(152, 97, 238)
HSLhsl(263, 81%, 66%)
HSVhsv(263, 59%, 93%)
CMYKcmyk(36.1%, 59.2%, 0%, 6.7%)
CIE-LABlab(53.38, 51.12, -63.28)
CIE-LCHlch(53.38, 81.35, 308.93°)
OKLaboklab(61.99% 0.0964 -0.1798)
OKLCHoklch(61.99% 0.204 298.2)
XYZxyz(32.6523, 21.3974, 83.2822)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861EE #B7EE61
analogous
#6170EE #9861EE #DE61EE
triadic
#9861EE #EE9861 #61EE98
tetradic
#9861EE #EE6170 #B7EE61 #61EEDE
square
#9861EE #EE6170 #B7EE61 #61EEDE
split-complementary
#9861EE #EEDE61 #70EE61
monochromatic
#5715C0 #742AE8 #9861EE #BC98F4 #E0D0FA

Accessibility & contrast

On white

3.98
#9861EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9861EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861EE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861EE#FFFFFF#000000##000000
##9861EE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#847F9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9861ee;
/* rgb */ color: rgb(152, 97, 238);
/* oklch */ color: oklch(62.0% 0.204 298.2);
Tailwind
colors: {
  custom: {
    50: '#bb90f4',
    500: '#9861ee',
    950: '#000000',
  },
}
SCSS
$custom: #9861ee;
$custom-light: #bb90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9861ee",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 263.404,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61991,
    "c": 0.20396,
    "h": 298.2
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#9861EE
secondary
#DBEDBE
accent
#DD098A
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9861EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9861EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva