#9869BA#9869BA

#9869BA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.2% C 0.129 H 309.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9869BA
RGBrgb(152, 105, 186)
HSLhsl(275, 37%, 57%)
HSVhsv(275, 44%, 73%)
CMYKcmyk(18.3%, 43.5%, 0%, 27.1%)
CIE-LABlab(52.20, 34.15, -35.63)
CIE-LCHlch(52.20, 49.35, 313.79°)
OKLaboklab(60.18% 0.0823 -0.099)
OKLCHoklch(60.18% 0.129 309.7)
XYZxyz(26.8618, 20.3241, 48.9527)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869BA #8BBA69
analogous
#7069BA #9869BA #BA69B3
triadic
#9869BA #BA9869 #69BA98
tetradic
#9869BA #BA7069 #8BBA69 #69B3BA
square
#9869BA #BA7069 #8BBA69 #69B3BA
split-complementary
#9869BA #B3BA69 #69BA70
monochromatic
#593573 #7A489D #9869BA #B593CD #D2BDE1

Accessibility & contrast

On white

4.15
#9869BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9869BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869BA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869BA#FFFFFF#000000##000000
##9869BA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#947589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9869ba;
/* rgb */ color: rgb(152, 105, 186);
/* oklch */ color: oklch(60.2% 0.129 309.7);
Tailwind
colors: {
  custom: {
    50: '#b895cf',
    500: '#9869ba',
    950: '#000000',
  },
}
SCSS
$custom: #9869ba;
$custom-light: #b895cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9869ba",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 186
  },
  "hsl": {
    "h": 274.815,
    "s": 36.986,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.12874,
    "h": 309.7
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#9869BA
secondary
#BDD0AF
accent
#CD5B8B
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9869BA

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

Preview Lab → · Contrast checker → · Palette generator →

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