#9868EE#9868EE

#9868EE is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.194 H 297.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9868EE
RGBrgb(152, 104, 238)
HSLhsl(261, 80%, 67%)
HSVhsv(261, 56%, 93%)
CMYKcmyk(36.1%, 56.3%, 0%, 6.7%)
CIE-LABlab(54.81, 47.36, -60.98)
CIE-LCHlch(54.81, 77.21, 307.83°)
OKLaboklab(63.04% 0.0882 -0.173)
OKLCHoklch(63.04% 0.194 297)
XYZxyz(33.3279, 22.7486, 83.5074)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868EE #BEEE68
analogous
#687BEE #9868EE #DB68EE
triadic
#9868EE #EE9868 #68EE98
tetradic
#9868EE #EE687B #BEEE68 #68EEDB
square
#9868EE #EE687B #BEEE68 #68EEDB
split-complementary
#9868EE #EEDB68 #7BEE68
monochromatic
#5516C5 #7231E8 #9868EE #BE9FF4 #E3D6FA

Accessibility & contrast

On white

3.78
#9868EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9868EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868EE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868EE#FFFFFF#000000##000000
##9868EE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F2
Deuteranopia (green-blind)
#3882EB
Tritanopia (blue-blind)
#8484A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9868ee;
/* rgb */ color: rgb(152, 104, 238);
/* oklch */ color: oklch(63.0% 0.194 297.0);
Tailwind
colors: {
  custom: {
    50: '#bb95f4',
    500: '#9868ee',
    950: '#000000',
  },
}
SCSS
$custom: #9868ee;
$custom-light: #bb95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9868ee",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 261.493,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63039,
    "c": 0.19418,
    "h": 297
  },
  "luminance": 0.22749
}

Semantic roles & 50–950 ramp

primary
#9868EE
secondary
#DFEEC4
accent
#DC0991
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868EE

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

Preview Lab → · Contrast checker → · Palette generator →

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