#9865BB#9865BB

#9865BB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.137 H 310.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9865BB
RGBrgb(152, 101, 187)
HSLhsl(276, 39%, 56%)
HSVhsv(276, 46%, 73%)
CMYKcmyk(18.7%, 46%, 0%, 26.7%)
CIE-LABlab(51.35, 36.64, -37.54)
CIE-LCHlch(51.35, 52.46, 314.30°)
OKLaboklab(59.56% 0.0883 -0.1045)
OKLCHoklch(59.56% 0.137 310.2)
XYZxyz(26.5706, 19.5710, 49.3819)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865BB #88BB65
analogous
#6D65BB #9865BB #BB65B3
triadic
#9865BB #BB9865 #65BB98
tetradic
#9865BB #BB6D65 #88BB65 #65B3BB
square
#9865BB #BB6D65 #88BB65 #65B3BB
split-complementary
#9865BB #B3BB65 #65BB6D
monochromatic
#593373 #7A459D #9865BB #B48FCE #D1BAE0

Accessibility & contrast

On white

4.27
#9865BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9865BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865BB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865BB#FFFFFF#000000##000000
##9865BB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#947387
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9865bb;
/* rgb */ color: rgb(152, 101, 187);
/* oklch */ color: oklch(59.6% 0.137 310.2);
Tailwind
colors: {
  custom: {
    50: '#b892d0',
    500: '#9865bb',
    950: '#000000',
  },
}
SCSS
$custom: #9865bb;
$custom-light: #b892d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9865bb",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 275.581,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59561,
    "c": 0.13681,
    "h": 310.2
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

primary
#9865BB
secondary
#BBD0AC
accent
#CF5989
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9865BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9865BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva