#9868CD#9868CD

#9868CD is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.0% C 0.154 H 304.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9868CD
RGBrgb(152, 104, 205)
HSLhsl(269, 50%, 61%)
HSVhsv(269, 49%, 80%)
CMYKcmyk(25.9%, 49.3%, 0%, 19.6%)
CIE-LABlab(52.93, 39.16, -45.37)
CIE-LCHlch(52.93, 59.93, 310.80°)
OKLaboklab(61.04% 0.0864 -0.1273)
OKLCHoklch(61.04% 0.154 304.2)
XYZxyz(28.9163, 20.9839, 60.2727)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868CD #9DCD68
analogous
#686ACD #9868CD #CB68CD
triadic
#9868CD #CD9868 #68CD98
tetradic
#9868CD #CD686A #9DCD68 #68CDCB
square
#9868CD #CD686A #9DCD68 #68CDCB
split-complementary
#9868CD #CDCB68 #6ACD68
monochromatic
#5B2E8C #793EBA #9868CD #B796DC #D7C4EB

Accessibility & contrast

On white

4.04
#9868CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9868CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868CD#FFFFFF#000000##000000
##9868CD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#8F7A91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9868cd;
/* rgb */ color: rgb(152, 104, 205);
/* oklch */ color: oklch(61.0% 0.154 304.2);
Tailwind
colors: {
  custom: {
    50: '#b994dd',
    500: '#9868cd',
    950: '#000000',
  },
}
SCSS
$custom: #9868cd;
$custom-light: #b994dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9868cd",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 268.515,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61041,
    "c": 0.15382,
    "h": 304.2
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#9868CD
secondary
#C9DCB5
accent
#BE2876
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9868CD

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

Preview Lab → · Contrast checker → · Palette generator →

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