#9868EF#9868EF

#9868EF is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.195 H 296.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9868EF
RGBrgb(152, 104, 239)
HSLhsl(261, 81%, 67%)
HSVhsv(261, 56%, 94%)
CMYKcmyk(36.4%, 56.5%, 0%, 6.3%)
CIE-LABlab(54.87, 47.61, -61.44)
CIE-LCHlch(54.87, 77.73, 307.77°)
OKLaboklab(63.1% 0.0882 -0.1744)
OKLCHoklch(63.1% 0.195 296.8)
XYZxyz(33.4752, 22.8075, 84.2832)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868EF #BFEF68
analogous
#687CEF #9868EF #DB68EF
triadic
#9868EF #EF9868 #68EF98
tetradic
#9868EF #EF687C #BFEF68 #68EFDB
square
#9868EF #EF687C #BFEF68 #68EFDB
split-complementary
#9868EF #EFDB68 #7CEF68
monochromatic
#5515C7 #7231E9 #9868EF #BE9FF5 #E3D7FB

Accessibility & contrast

On white

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

On black

5.56
#9868EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868EF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868EF#FFFFFF#000000##000000
##9868EF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F3
Deuteranopia (green-blind)
#3782EC
Tritanopia (blue-blind)
#8484A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9868ef;
/* rgb */ color: rgb(152, 104, 239);
/* oklch */ color: oklch(63.1% 0.195 296.8);
Tailwind
colors: {
  custom: {
    50: '#bb95f5',
    500: '#9868ef',
    950: '#000000',
  },
}
SCSS
$custom: #9868ef;
$custom-light: #bb95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9868ef",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 261.333,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63103,
    "c": 0.19538,
    "h": 296.8
  },
  "luminance": 0.22808
}

Semantic roles & 50–950 ramp

primary
#9868EF
secondary
#E0EFC4
accent
#DD0891
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868EF

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

Preview Lab → · Contrast checker → · Palette generator →

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