#9869B2#9869B2

#9869B2 is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.8% C 0.119 H 312.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9869B2
RGBrgb(152, 105, 178)
HSLhsl(279, 32%, 55%)
HSVhsv(279, 41%, 70%)
CMYKcmyk(14.6%, 41%, 0%, 30.2%)
CIE-LABlab(51.83, 32.35, -31.58)
CIE-LCHlch(51.83, 45.21, 315.69°)
OKLaboklab(59.78% 0.0808 -0.0873)
OKLCHoklch(59.78% 0.119 312.8)
XYZxyz(26.0350, 19.9934, 44.5985)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869B2 #83B269
analogous
#7369B2 #9869B2 #B269A8
triadic
#9869B2 #B29869 #69B298
tetradic
#9869B2 #B27369 #83B269 #69A8B2
square
#9869B2 #B27369 #83B269 #69A8B2
split-complementary
#9869B2 #A8B269 #69B273
monochromatic
#58366A #794B93 #9869B2 #B491C7 #D0BADC

Accessibility & contrast

On white

4.20
#9869B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9869B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869B2#FFFFFF#000000##000000
##9869B21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#967385
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9869b2;
/* rgb */ color: rgb(152, 105, 178);
/* oklch */ color: oklch(59.8% 0.119 312.8);
Tailwind
colors: {
  custom: {
    50: '#b795c9',
    500: '#9869b2',
    950: '#000000',
  },
}
SCSS
$custom: #9869b2;
$custom-light: #b795c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9869b2",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 178
  },
  "hsl": {
    "h": 278.63,
    "s": 32.159,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.11898,
    "h": 312.8
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#9869B2
secondary
#B7CBAC
accent
#C85F85
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9869B2

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

Preview Lab → · Contrast checker → · Palette generator →

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