#9875BB#9875BB

#9875BB is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.4% C 0.109 H 306.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9875BB
RGBrgb(152, 117, 187)
HSLhsl(270, 34%, 60%)
HSVhsv(270, 37%, 73%)
CMYKcmyk(18.7%, 37.4%, 0%, 26.7%)
CIE-LABlab(55.06, 27.51, -31.74)
CIE-LCHlch(55.06, 42.00, 310.92°)
OKLaboklab(62.35% 0.0649 -0.0878)
OKLCHoklch(62.35% 0.109 306.5)
XYZxyz(28.2781, 22.9860, 49.9511)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875BB #98BB75
analogous
#7575BB #9875BB #BB75BB
triadic
#9875BB #BB9875 #75BB98
tetradic
#9875BB #BB7575 #98BB75 #75BBBB
square
#9875BB #BB7575 #98BB75 #75BBBB
split-complementary
#9875BB #BBBB75 #75BB75
monochromatic
#5B3C7A #7950A3 #9875BB #B79ECF #D5C7E3

Accessibility & contrast

On white

3.75
#9875BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#9875BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875BB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875BB#FFFFFF#000000##000000
##9875BB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BE
Deuteranopia (green-blind)
#6E84B9
Tritanopia (blue-blind)
#93808F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9875bb;
/* rgb */ color: rgb(152, 117, 187);
/* oklch */ color: oklch(62.4% 0.109 306.5);
Tailwind
colors: {
  custom: {
    50: '#b79dcf',
    500: '#9875bb',
    950: '#000000',
  },
}
SCSS
$custom: #9875bb;
$custom-light: #b79dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9875bb",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 33.981,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.1092,
    "h": 306.5
  },
  "luminance": 0.22986
}

Semantic roles & 50–950 ramp

primary
#9875BB
secondary
#C6D3B8
accent
#CA5E94
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9875BB

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

Preview Lab → · Contrast checker → · Palette generator →

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