#9861EC#9861EC

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

Color values

HEX#9861EC
RGBrgb(152, 97, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 59%, 93%)
CMYKcmyk(35.6%, 58.9%, 0%, 7.5%)
CIE-LABlab(53.26, 50.62, -62.37)
CIE-LCHlch(53.26, 80.33, 309.07°)
OKLaboklab(61.86% 0.0964 -0.1771)
OKLCHoklch(61.86% 0.202 298.6)
XYZxyz(32.3602, 21.2805, 81.7433)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861EC #B5EC61
analogous
#616FEC #9861EC #DD61EC
triadic
#9861EC #EC9861 #61EC98
tetradic
#9861EC #EC616F #B5EC61 #61ECDD
square
#9861EC #EC616F #B5EC61 #61ECDD
split-complementary
#9861EC #ECDD61 #6FEC61
monochromatic
#5817BC #742AE5 #9861EC #BC98F3 #DFCEF9

Accessibility & contrast

On white

4.00
#9861EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9861EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861EC#FFFFFF#000000##000000
##9861EC1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#067FF0
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#857F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9861ec;
/* rgb */ color: rgb(152, 97, 236);
/* oklch */ color: oklch(61.9% 0.202 298.6);
Tailwind
colors: {
  custom: {
    50: '#bb90f3',
    500: '#9861ec',
    950: '#000000',
  },
}
SCSS
$custom: #9861ec;
$custom-light: #bb90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9861ec",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 263.741,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.20162,
    "h": 298.6
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#9861EC
secondary
#D9ECBD
accent
#DB0B88
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9861EC

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

Preview Lab → · Contrast checker → · Palette generator →

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