#9868EC#9868EC

#9868EC is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.192 H 297.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9868EC
RGBrgb(152, 104, 236)
HSLhsl(262, 78%, 67%)
HSVhsv(262, 56%, 93%)
CMYKcmyk(35.6%, 55.9%, 0%, 7.5%)
CIE-LABlab(54.69, 46.85, -60.06)
CIE-LCHlch(54.69, 76.17, 307.95°)
OKLaboklab(62.91% 0.0881 -0.1703)
OKLCHoklch(62.91% 0.192 297.4)
XYZxyz(33.0357, 22.6317, 81.9685)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868EC #BCEC68
analogous
#687AEC #9868EC #DA68EC
triadic
#9868EC #EC9868 #68EC98
tetradic
#9868EC #EC687A #BCEC68 #68ECDA
square
#9868EC #EC687A #BCEC68 #68ECDA
split-complementary
#9868EC #ECDA68 #7AEC68
monochromatic
#5618C1 #7332E5 #9868EC #BD9EF3 #E2D5FA

Accessibility & contrast

On white

3.80
#9868EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9868EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868EC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868EC#FFFFFF#000000##000000
##9868EC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#8583A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9868ec;
/* rgb */ color: rgb(152, 104, 236);
/* oklch */ color: oklch(62.9% 0.192 297.4);
Tailwind
colors: {
  custom: {
    50: '#bb95f3',
    500: '#9868ec',
    950: '#000000',
  },
}
SCSS
$custom: #9868ec;
$custom-light: #bb95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9868ec",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 261.818,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6291,
    "c": 0.19176,
    "h": 297.4
  },
  "luminance": 0.22632
}

Semantic roles & 50–950 ramp

primary
#9868EC
secondary
#DEEDC3
accent
#DA0C8F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868EC

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

Preview Lab → · Contrast checker → · Palette generator →

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