#9869C7#9869C7

#9869C7 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.9% C 0.145 H 305.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9869C7
RGBrgb(152, 105, 199)
HSLhsl(270, 46%, 60%)
HSVhsv(270, 47%, 78%)
CMYKcmyk(23.6%, 47.2%, 0%, 22%)
CIE-LABlab(52.84, 37.17, -42.08)
CIE-LCHlch(52.84, 56.15, 311.45°)
OKLaboklab(60.87% 0.0843 -0.1177)
OKLCHoklch(60.87% 0.145 305.6)
XYZxyz(28.3071, 20.9023, 56.5650)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869C7 #98C769
analogous
#6969C7 #9869C7 #C769C7
triadic
#9869C7 #C79869 #69C798
tetradic
#9869C7 #C76969 #98C769 #69C7C7
square
#9869C7 #C76969 #98C769 #69C7C7
split-complementary
#9869C7 #C7C769 #69C769
monochromatic
#5B3184 #7942B1 #9869C7 #B796D8 #D5C2E8

Accessibility & contrast

On white

4.05
#9869C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9869C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869C7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869C7#FFFFFF#000000##000000
##9869C71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCA
Deuteranopia (green-blind)
#5C7EC5
Tritanopia (blue-blind)
#91798F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9869c7;
/* rgb */ color: rgb(152, 105, 199);
/* oklch */ color: oklch(60.9% 0.145 305.6);
Tailwind
colors: {
  custom: {
    50: '#b895d8',
    500: '#9869c7',
    950: '#000000',
  },
}
SCSS
$custom: #9869c7;
$custom-light: #b895d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9869c7",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 199
  },
  "hsl": {
    "h": 270,
    "s": 45.631,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.14479,
    "h": 305.6
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#9869C7
secondary
#C6D8B4
accent
#D55294
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9869C7

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

Preview Lab → · Contrast checker → · Palette generator →

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