#9869CD#9869CD

#9869CD is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.2% C 0.152 H 304.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9869CD
RGBrgb(152, 105, 205)
HSLhsl(268, 50%, 61%)
HSVhsv(268, 49%, 80%)
CMYKcmyk(25.9%, 48.8%, 0%, 19.6%)
CIE-LABlab(53.15, 38.60, -45.02)
CIE-LCHlch(53.15, 59.30, 310.61°)
OKLaboklab(61.21% 0.085 -0.1263)
OKLCHoklch(61.21% 0.152 304)
XYZxyz(29.0175, 21.1864, 60.3065)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869CD #9ECD69
analogous
#696CCD #9869CD #CA69CD
triadic
#9869CD #CD9869 #69CD98
tetradic
#9869CD #CD696C #9ECD69 #69CDCA
square
#9869CD #CD696C #9ECD69 #69CDCA
split-complementary
#9869CD #CDCA69 #6CCD69
monochromatic
#5B2F8D #793EBB #9869CD #B897DC #D7C5EC

Accessibility & contrast

On white

4.01
#9869CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9869CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869CD#FFFFFF#000000##000000
##9869CD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#8F7B91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9869cd;
/* rgb */ color: rgb(152, 105, 205);
/* oklch */ color: oklch(61.2% 0.152 304.0);
Tailwind
colors: {
  custom: {
    50: '#b995dd',
    500: '#9869cd',
    950: '#000000',
  },
}
SCSS
$custom: #9869cd;
$custom-light: #b995dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9869cd",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 205
  },
  "hsl": {
    "h": 268.2,
    "s": 50,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.15222,
    "h": 304
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#9869CD
secondary
#CADCB6
accent
#BD2877
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869CD

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

Preview Lab → · Contrast checker → · Palette generator →

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