#9861EF#9861EF

#9861EF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.1% C 0.205 H 298.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9861EF
RGBrgb(152, 97, 239)
HSLhsl(263, 82%, 66%)
HSVhsv(263, 59%, 94%)
CMYKcmyk(36.4%, 59.4%, 0%, 6.3%)
CIE-LABlab(53.45, 51.38, -63.74)
CIE-LCHlch(53.45, 81.87, 308.87°)
OKLaboklab(62.06% 0.0963 -0.1811)
OKLCHoklch(62.06% 0.205 298)
XYZxyz(32.7997, 21.4563, 84.0580)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861EF #B8EF61
analogous
#6171EF #9861EF #DF61EF
triadic
#9861EF #EF9861 #61EF98
tetradic
#9861EF #EF6171 #B8EF61 #61EFDF
square
#9861EF #EF6171 #B8EF61 #61EFDF
split-complementary
#9861EF #EFDF61 #71EF61
monochromatic
#5714C2 #7429E9 #9861EF #BC99F5 #E0D0FA

Accessibility & contrast

On white

3.97
#9861EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9861EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861EF#FFFFFF#000000##000000
##9861EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#287EEC
Tritanopia (blue-blind)
#84809F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9861ef;
/* rgb */ color: rgb(152, 97, 239);
/* oklch */ color: oklch(62.1% 0.205 298.0);
Tailwind
colors: {
  custom: {
    50: '#bb90f5',
    500: '#9861ef',
    950: '#000000',
  },
}
SCSS
$custom: #9861ef;
$custom-light: #bb90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9861ef",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 263.239,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62057,
    "c": 0.20514,
    "h": 298
  },
  "luminance": 0.21457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9861EF

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

Preview Lab → · Contrast checker → · Palette generator →

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