#9869E8#9869E8

#9869E8 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.8% C 0.185 H 297.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9869E8
RGBrgb(152, 105, 232)
HSLhsl(262, 73%, 66%)
HSVhsv(262, 55%, 91%)
CMYKcmyk(34.5%, 54.7%, 0%, 9%)
CIE-LABlab(54.66, 45.28, -57.87)
CIE-LCHlch(54.66, 73.48, 308.04°)
OKLaboklab(62.81% 0.0869 -0.1639)
OKLCHoklch(62.81% 0.185 297.9)
XYZxyz(32.5623, 22.6043, 78.9758)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869E8 #B9E869
analogous
#6979E8 #9869E8 #D769E8
triadic
#9869E8 #E89869 #69E898
tetradic
#9869E8 #E86979 #B9E869 #69E8D7
square
#9869E8 #E86979 #B9E869 #69E8D7
split-complementary
#9869E8 #E8D769 #79E869
monochromatic
#571DBA #7434E0 #9869E8 #BC9EF0 #E1D3F8

Accessibility & contrast

On white

3.80
#9869E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9869E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869E8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869E8#FFFFFF#000000##000000
##9869E81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#4181E5
Tritanopia (blue-blind)
#86839F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9869e8;
/* rgb */ color: rgb(152, 105, 232);
/* oklch */ color: oklch(62.8% 0.185 297.9);
Tailwind
colors: {
  custom: {
    50: '#ba95f0',
    500: '#9869e8',
    950: '#000000',
  },
}
SCSS
$custom: #9869e8;
$custom-light: #ba95f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9869e8",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 232
  },
  "hsl": {
    "h": 262.205,
    "s": 73.41,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.18545,
    "h": 297.9
  },
  "luminance": 0.22605
}

Semantic roles & 50–950 ramp

primary
#9869E8
secondary
#DCEBC2
accent
#D6108C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9869E8

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

Preview Lab → · Contrast checker → · Palette generator →

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