#9866BE#9866BE

#9866BE is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.9% C 0.139 H 309.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9866BE
RGBrgb(152, 102, 190)
HSLhsl(274, 40%, 57%)
HSVhsv(274, 46%, 75%)
CMYKcmyk(20%, 46.3%, 0%, 25.5%)
CIE-LABlab(51.72, 36.76, -38.69)
CIE-LCHlch(51.72, 53.37, 313.53°)
OKLaboklab(59.89% 0.0873 -0.1078)
OKLCHoklch(59.89% 0.139 309)
XYZxyz(26.9928, 19.8962, 51.1236)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9866BE #8CBE66
analogous
#6C66BE #9866BE #BE66B8
triadic
#9866BE #BE9866 #66BE98
tetradic
#9866BE #BE6C66 #8CBE66 #66B8BE
square
#9866BE #BE6C66 #8CBE66 #66B8BE
split-complementary
#9866BE #B8BE66 #66BE6C
monochromatic
#593377 #7A45A2 #9866BE #B591D0 #D2BCE2

Accessibility & contrast

On white

4.22
#9866BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9866BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9866BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9866BE#FFFFFF#000000##000000
##9866BE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#937489
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9866be;
/* rgb */ color: rgb(152, 102, 190);
/* oklch */ color: oklch(59.9% 0.139 309.0);
Tailwind
colors: {
  custom: {
    50: '#b893d2',
    500: '#9866be',
    950: '#000000',
  },
}
SCSS
$custom: #9866be;
$custom-light: #b893d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9866be",
  "rgb": {
    "r": 152,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 274.091,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.13873,
    "h": 309
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#9866BE
secondary
#BDD2AE
accent
#D0588C
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9866BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9866BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva