#9869D7#9869D7

#9869D7 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.8% C 0.165 H 301.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9869D7
RGBrgb(152, 105, 215)
HSLhsl(266, 58%, 63%)
HSVhsv(266, 51%, 84%)
CMYKcmyk(29.3%, 51.2%, 0%, 15.7%)
CIE-LABlab(53.69, 41.03, -49.84)
CIE-LCHlch(53.69, 64.56, 309.46°)
OKLaboklab(61.78% 0.086 -0.1403)
OKLCHoklch(61.78% 0.165 301.5)
XYZxyz(30.2634, 21.6848, 66.8680)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869D7 #A8D769
analogous
#6971D7 #9869D7 #CF69D7
triadic
#9869D7 #D79869 #69D798
tetradic
#9869D7 #D76971 #A8D769 #69D7CF
square
#9869D7 #D76971 #A8D769 #69D7CF
split-complementary
#9869D7 #D7CF69 #71D769
monochromatic
#5A2A9C #7739CA #9869D7 #B999E4 #DACAF1

Accessibility & contrast

On white

3.93
#9869D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9869D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869D7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869D7#FFFFFF#000000##000000
##9869D71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4480DB
Deuteranopia (green-blind)
#5180D4
Tritanopia (blue-blind)
#8C7E96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9869d7;
/* rgb */ color: rgb(152, 105, 215);
/* oklch */ color: oklch(61.8% 0.165 301.5);
Tailwind
colors: {
  custom: {
    50: '#b995e4',
    500: '#9869d7',
    950: '#000000',
  },
}
SCSS
$custom: #9869d7;
$custom-light: #b995e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9869d7",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 215
  },
  "hsl": {
    "h": 265.636,
    "s": 57.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.16458,
    "h": 301.5
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#9869D7
secondary
#D1E2BA
accent
#C5207F
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #9869D7

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

Preview Lab → · Contrast checker → · Palette generator →

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