#9861ED#9861ED

#9861ED is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.203 H 298.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9861ED
RGBrgb(152, 97, 237)
HSLhsl(264, 80%, 65%)
HSVhsv(264, 59%, 93%)
CMYKcmyk(35.9%, 59.1%, 0%, 7.1%)
CIE-LABlab(53.32, 50.87, -62.82)
CIE-LCHlch(53.32, 80.84, 309.00°)
OKLaboklab(61.92% 0.0964 -0.1784)
OKLCHoklch(61.92% 0.203 298.4)
XYZxyz(32.5058, 21.3388, 82.5106)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861ED #B6ED61
analogous
#6170ED #9861ED #DE61ED
triadic
#9861ED #ED9861 #61ED98
tetradic
#9861ED #ED6170 #B6ED61 #61EDDE
square
#9861ED #ED6170 #B6ED61 #61EDDE
split-complementary
#9861ED #EDDE61 #70ED61
monochromatic
#5816BE #742AE7 #9861ED #BC98F3 #E0CFFA

Accessibility & contrast

On white

3.99
#9861ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9861ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861ED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861ED#FFFFFF#000000##000000
##9861ED1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#2C7EEA
Tritanopia (blue-blind)
#857F9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9861ed;
/* rgb */ color: rgb(152, 97, 237);
/* oklch */ color: oklch(61.9% 0.203 298.4);
Tailwind
colors: {
  custom: {
    50: '#bb90f4',
    500: '#9861ed',
    950: '#000000',
  },
}
SCSS
$custom: #9861ed;
$custom-light: #bb90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9861ed",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 263.571,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61924,
    "c": 0.2028,
    "h": 298.4
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#9861ED
secondary
#DAECBD
accent
#DC0A89
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9861ED

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

Preview Lab → · Contrast checker → · Palette generator →

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