#9869CC#9869CC

#9869CC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.151 H 304.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9869CC
RGBrgb(152, 105, 204)
HSLhsl(268, 49%, 61%)
HSVhsv(268, 49%, 80%)
CMYKcmyk(25.5%, 48.5%, 0%, 20%)
CIE-LABlab(53.10, 38.36, -44.53)
CIE-LCHlch(53.10, 58.78, 310.74°)
OKLaboklab(61.15% 0.0849 -0.1248)
OKLCHoklch(61.15% 0.151 304.2)
XYZxyz(28.8972, 21.1383, 59.6728)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869CC #9DCC69
analogous
#696BCC #9869CC #CA69CC
triadic
#9869CC #CC9869 #69CC98
tetradic
#9869CC #CC696B #9DCC69 #69CCCA
square
#9869CC #CC696B #9DCC69 #69CCCA
split-complementary
#9869CC #CCCA69 #6BCC69
monochromatic
#5B2F8B #793FB9 #9869CC #B797DC #D7C4EB

Accessibility & contrast

On white

4.02
#9869CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9869CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869CC#FFFFFF#000000##000000
##9869CC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ECF
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#8F7A91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9869cc;
/* rgb */ color: rgb(152, 105, 204);
/* oklch */ color: oklch(61.1% 0.151 304.2);
Tailwind
colors: {
  custom: {
    50: '#b995dc',
    500: '#9869cc',
    950: '#000000',
  },
}
SCSS
$custom: #9869cc;
$custom-light: #b995dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9869cc",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 204
  },
  "hsl": {
    "h": 268.485,
    "s": 49.254,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61149,
    "c": 0.15097,
    "h": 304.2
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#9869CC
secondary
#C9DBB6
accent
#BD2976
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869CC

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

Preview Lab → · Contrast checker → · Palette generator →

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