#9869D5#9869D5

#9869D5 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.162 H 302.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9869D5
RGBrgb(152, 105, 213)
HSLhsl(266, 56%, 62%)
HSVhsv(266, 51%, 84%)
CMYKcmyk(28.6%, 50.7%, 0%, 16.5%)
CIE-LABlab(53.58, 40.54, -48.88)
CIE-LCHlch(53.58, 63.51, 309.67°)
OKLaboklab(61.66% 0.0858 -0.1375)
OKLCHoklch(61.66% 0.162 302)
XYZxyz(30.0080, 21.5826, 65.5228)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869D5 #A6D569
analogous
#6970D5 #9869D5 #CE69D5
triadic
#9869D5 #D59869 #69D598
tetradic
#9869D5 #D56970 #A6D569 #69D5CE
square
#9869D5 #D56970 #A6D569 #69D5CE
split-complementary
#9869D5 #D5CE69 #70D569
monochromatic
#5B2B99 #7739C8 #9869D5 #B999E2 #DAC9F0

Accessibility & contrast

On white

3.95
#9869D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9869D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869D5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869D5#FFFFFF#000000##000000
##9869D51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#5280D2
Tritanopia (blue-blind)
#8D7D95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9869d5;
/* rgb */ color: rgb(152, 105, 213);
/* oklch */ color: oklch(61.7% 0.162 302.0);
Tailwind
colors: {
  custom: {
    50: '#b995e2',
    500: '#9869d5',
    950: '#000000',
  },
}
SCSS
$custom: #9869d5;
$custom-light: #b995e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9869d5",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 213
  },
  "hsl": {
    "h": 266.111,
    "s": 56.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.16212,
    "h": 302
  },
  "luminance": 0.21583
}

Semantic roles & 50–950 ramp

primary
#9869D5
secondary
#CFE1B9
accent
#C4227D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869D5

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

Preview Lab → · Contrast checker → · Palette generator →

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