#9869E4#9869E4

#9869E4 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.6% C 0.181 H 298.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9869E4
RGBrgb(152, 105, 228)
HSLhsl(263, 69%, 65%)
HSVhsv(263, 54%, 89%)
CMYKcmyk(33.3%, 53.9%, 0%, 10.6%)
CIE-LABlab(54.43, 44.27, -56.00)
CIE-LCHlch(54.43, 71.38, 308.33°)
OKLaboklab(62.56% 0.0867 -0.1584)
OKLCHoklch(62.56% 0.181 298.7)
XYZxyz(32.0006, 22.3797, 76.0175)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869E4 #B5E469
analogous
#6977E4 #9869E4 #D669E4
triadic
#9869E4 #E49869 #69E498
tetradic
#9869E4 #E46977 #B5E469 #69E4D6
square
#9869E4 #E46977 #B5E469 #69E4D6
split-complementary
#9869E4 #E4D669 #77E469
monochromatic
#5820B2 #7435DB #9869E4 #BC9DED #DFD1F7

Accessibility & contrast

On white

3.83
#9869E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9869E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869E4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869E4#FFFFFF#000000##000000
##9869E41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#88829D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9869e4;
/* rgb */ color: rgb(152, 105, 228);
/* oklch */ color: oklch(62.6% 0.181 298.7);
Tailwind
colors: {
  custom: {
    50: '#ba95ed',
    500: '#9869e4',
    950: '#000000',
  },
}
SCSS
$custom: #9869e4;
$custom-light: #ba95ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9869e4",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 228
  },
  "hsl": {
    "h": 262.927,
    "s": 69.492,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62564,
    "c": 0.18057,
    "h": 298.7
  },
  "luminance": 0.2238
}

Semantic roles & 50–950 ramp

primary
#9869E4
secondary
#D9E9C0
accent
#D11489
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9869E4

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

Preview Lab → · Contrast checker → · Palette generator →

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