#9868EA#9868EA

#9868EA is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.8% C 0.189 H 297.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9868EA
RGBrgb(152, 104, 234)
HSLhsl(262, 76%, 66%)
HSVhsv(262, 56%, 92%)
CMYKcmyk(35%, 55.6%, 0%, 8.2%)
CIE-LABlab(54.57, 46.34, -59.13)
CIE-LCHlch(54.57, 75.13, 308.08°)
OKLaboklab(62.78% 0.0881 -0.1676)
OKLCHoklch(62.78% 0.189 297.7)
XYZxyz(32.7468, 22.5161, 80.4467)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868EA #BAEA68
analogous
#6879EA #9868EA #D968EA
triadic
#9868EA #EA9868 #68EA98
tetradic
#9868EA #EA6879 #BAEA68 #68EAD9
square
#9868EA #EA6879 #BAEA68 #68EAD9
split-complementary
#9868EA #EAD968 #79EA68
monochromatic
#561ABD #7332E3 #9868EA #BD9EF1 #E1D3F9

Accessibility & contrast

On white

3.82
#9868EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9868EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868EA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868EA#FFFFFF#000000##000000
##9868EA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EE
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#86839F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9868ea;
/* rgb */ color: rgb(152, 104, 234);
/* oklch */ color: oklch(62.8% 0.189 297.7);
Tailwind
colors: {
  custom: {
    50: '#bb95f1',
    500: '#9868ea',
    950: '#000000',
  },
}
SCSS
$custom: #9868ea;
$custom-light: #bb95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9868ea",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 262.154,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62783,
    "c": 0.18934,
    "h": 297.7
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#9868EA
secondary
#DCECC2
accent
#D80E8D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868EA

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

Preview Lab → · Contrast checker → · Palette generator →

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