#9861EA#9861EA

#9861EA is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.199 H 299.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9861EA
RGBrgb(152, 97, 234)
HSLhsl(264, 77%, 65%)
HSVhsv(264, 59%, 92%)
CMYKcmyk(35%, 58.5%, 0%, 8.2%)
CIE-LABlab(53.13, 50.12, -61.45)
CIE-LCHlch(53.13, 79.30, 309.20°)
OKLaboklab(61.73% 0.0965 -0.1744)
OKLCHoklch(61.73% 0.199 299)
XYZxyz(32.0712, 21.1650, 80.2215)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861EA #B3EA61
analogous
#616EEA #9861EA #DD61EA
triadic
#9861EA #EA9861 #61EA98
tetradic
#9861EA #EA616E #B3EA61 #61EADD
square
#9861EA #EA616E #B3EA61 #61EADD
split-complementary
#9861EA #EADD61 #6EEA61
monochromatic
#5918B8 #752BE3 #9861EA #BB97F1 #DECDF8

Accessibility & contrast

On white

4.01
#9861EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9861EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861EA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861EA#FFFFFF#000000##000000
##9861EA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FEE
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#867E9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9861ea;
/* rgb */ color: rgb(152, 97, 234);
/* oklch */ color: oklch(61.7% 0.199 299.0);
Tailwind
colors: {
  custom: {
    50: '#bb90f1',
    500: '#9861ea',
    950: '#000000',
  },
}
SCSS
$custom: #9861ea;
$custom-light: #bb90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9861ea",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 264.088,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.19929,
    "h": 299
  },
  "luminance": 0.21165
}

Semantic roles & 50–950 ramp

primary
#9861EA
secondary
#D8EBBC
accent
#D90D87
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9861EA

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

Preview Lab → · Contrast checker → · Palette generator →

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