#9869C2#9869C2

#9869C2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.6% C 0.139 H 307.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9869C2
RGBrgb(152, 105, 194)
HSLhsl(272, 42%, 59%)
HSVhsv(272, 46%, 76%)
CMYKcmyk(21.6%, 45.9%, 0%, 23.9%)
CIE-LABlab(52.59, 35.99, -39.62)
CIE-LCHlch(52.59, 53.53, 312.26°)
OKLaboklab(60.6% 0.0836 -0.1105)
OKLCHoklch(60.6% 0.139 307.1)
XYZxyz(27.7361, 20.6739, 53.5578)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869C2 #93C269
analogous
#6B69C2 #9869C2 #C269BF
triadic
#9869C2 #C29869 #69C298
tetradic
#9869C2 #C26B69 #93C269 #69BFC2
square
#9869C2 #C26B69 #93C269 #69BFC2
split-complementary
#9869C2 #BFC269 #69C26B
monochromatic
#5A337E #7A45A9 #9869C2 #B695D4 #D4C0E5

Accessibility & contrast

On white

4.09
#9869C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9869C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869C2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869C2#FFFFFF#000000##000000
##9869C21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#5F7EC0
Tritanopia (blue-blind)
#92788C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9869c2;
/* rgb */ color: rgb(152, 105, 194);
/* oklch */ color: oklch(60.6% 0.139 307.1);
Tailwind
colors: {
  custom: {
    50: '#b895d5',
    500: '#9869c2',
    950: '#000000',
  },
}
SCSS
$custom: #9869c2;
$custom-light: #b895d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9869c2",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 194
  },
  "hsl": {
    "h": 271.685,
    "s": 42.18,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.1386,
    "h": 307.1
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#9869C2
secondary
#C2D5B2
accent
#D25690
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9869C2

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

Preview Lab → · Contrast checker → · Palette generator →

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