#9868DF#9868DF

#9868DF is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.1% C 0.176 H 299.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9868DF
RGBrgb(152, 104, 223)
HSLhsl(264, 65%, 64%)
HSVhsv(264, 53%, 87%)
CMYKcmyk(31.8%, 53.4%, 0%, 12.5%)
CIE-LABlab(53.92, 43.57, -53.99)
CIE-LCHlch(53.92, 69.38, 308.90°)
OKLaboklab(62.1% 0.0878 -0.1525)
OKLCHoklch(62.1% 0.176 299.9)
XYZxyz(31.2153, 21.9035, 72.3810)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868DF #AFDF68
analogous
#6874DF #9868DF #D468DF
triadic
#9868DF #DF9868 #68DF98
tetradic
#9868DF #DF6874 #AFDF68 #68DFD4
square
#9868DF #DF6874 #AFDF68 #68DFD4
split-complementary
#9868DF #DFD468 #74DF68
monochromatic
#5924A9 #7636D4 #9868DF #BA9BEA #DDCDF4

Accessibility & contrast

On white

3.90
#9868DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9868DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868DF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868DF#FFFFFF#000000##000000
##9868DF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#897F9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9868df;
/* rgb */ color: rgb(152, 104, 223);
/* oklch */ color: oklch(62.1% 0.176 299.9);
Tailwind
colors: {
  custom: {
    50: '#ba94e9',
    500: '#9868df',
    950: '#000000',
  },
}
SCSS
$custom: #9868df;
$custom-light: #ba94e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9868df",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 264.202,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62099,
    "c": 0.17594,
    "h": 299.9
  },
  "luminance": 0.21904
}

Semantic roles & 50–950 ramp

primary
#9868DF
secondary
#D5E6BD
accent
#CD1984
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9868DF

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

Preview Lab → · Contrast checker → · Palette generator →

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