#9869CF#9869CF

#9869CF is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.3% C 0.155 H 303.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9869CF
RGBrgb(152, 105, 207)
HSLhsl(268, 52%, 61%)
HSVhsv(268, 49%, 81%)
CMYKcmyk(26.6%, 49.3%, 0%, 18.8%)
CIE-LABlab(53.26, 39.08, -45.99)
CIE-LCHlch(53.26, 60.35, 310.36°)
OKLaboklab(61.32% 0.0852 -0.1291)
OKLCHoklch(61.32% 0.155 303.4)
XYZxyz(29.2605, 21.2836, 61.5860)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869CF #A0CF69
analogous
#696DCF #9869CF #CB69CF
triadic
#9869CF #CF9869 #69CF98
tetradic
#9869CF #CF696D #A0CF69 #69CFCB
square
#9869CF #CF696D #A0CF69 #69CFCB
split-complementary
#9869CF #CFCB69 #6DCF69
monochromatic
#5B2E90 #783DBE #9869CF #B897DE #D8C6ED

Accessibility & contrast

On white

3.99
#9869CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9869CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869CF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869CF#FFFFFF#000000##000000
##9869CF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#8E7B92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9869cf;
/* rgb */ color: rgb(152, 105, 207);
/* oklch */ color: oklch(61.3% 0.155 303.4);
Tailwind
colors: {
  custom: {
    50: '#b995de',
    500: '#9869cf',
    950: '#000000',
  },
}
SCSS
$custom: #9869cf;
$custom-light: #b995de;
$custom-dark: #000000;
JSON
{
  "hex": "#9869cf",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 207
  },
  "hsl": {
    "h": 267.647,
    "s": 51.515,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.1547,
    "h": 303.4
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#9869CF
secondary
#CBDDB7
accent
#BF2779
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869CF

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

Preview Lab → · Contrast checker → · Palette generator →

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