#9869EB#9869EB

#9869EB is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.0% C 0.189 H 297.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9869EB
RGBrgb(152, 105, 235)
HSLhsl(262, 76%, 67%)
HSVhsv(262, 55%, 92%)
CMYKcmyk(35.3%, 55.3%, 0%, 7.8%)
CIE-LABlab(54.84, 46.04, -59.26)
CIE-LCHlch(54.84, 75.04, 307.85°)
OKLaboklab(63% 0.0869 -0.1679)
OKLCHoklch(63% 0.189 297.4)
XYZxyz(32.9921, 22.7762, 81.2392)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869EB #BCEB69
analogous
#697BEB #9869EB #D969EB
triadic
#9869EB #EB9869 #69EB98
tetradic
#9869EB #EB697B #BCEB69 #69EBD9
square
#9869EB #EB697B #BCEB69 #69EBD9
split-complementary
#9869EB #EBD969 #7BEB69
monochromatic
#561AC0 #7333E4 #9869EB #BD9FF2 #E2D5F9

Accessibility & contrast

On white

3.78
#9869EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9869EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869EB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869EB#FFFFFF#000000##000000
##9869EB1.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)
#2D84EF
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#8584A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9869eb;
/* rgb */ color: rgb(152, 105, 235);
/* oklch */ color: oklch(63.0% 0.189 297.4);
Tailwind
colors: {
  custom: {
    50: '#bb95f2',
    500: '#9869eb',
    950: '#000000',
  },
}
SCSS
$custom: #9869eb;
$custom-light: #bb95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9869eb",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 235
  },
  "hsl": {
    "h": 261.692,
    "s": 76.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63002,
    "c": 0.18911,
    "h": 297.4
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#9869EB
secondary
#DEEDC3
accent
#D90D8F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9869EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9869EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva