#B87DDD#B87DDD

#B87DDD is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.149 H 311.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B87DDD
RGBrgb(184, 125, 221)
HSLhsl(277, 59%, 68%)
HSVhsv(277, 43%, 87%)
CMYKcmyk(16.7%, 43.4%, 0%, 13.3%)
CIE-LABlab(61.72, 40.15, -40.31)
CIE-LCHlch(61.72, 56.89, 314.89°)
OKLaboklab(68.64% 0.0983 -0.1119)
OKLCHoklch(68.64% 0.149 311.3)
XYZxyz(40.1496, 30.0787, 72.0833)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DDD #A2DD7D
analogous
#887DDD #B87DDD #DD7DD2
triadic
#B87DDD #DDB87D #7DDDB8
tetradic
#B87DDD #DD887D #A2DD7D #7DD2DD
square
#B87DDD #DD887D #A2DD7D #7DD2DD
split-complementary
#B87DDD #D2DD7D #7DDD88
monochromatic
#7F2EB1 #9E4CD0 #B87DDD #D2AEEA #EDDEF6

Accessibility & contrast

On white

2.99
#B87DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B87DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DDD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DDD#FFFFFF#000000##000000
##B87DDD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E0
Deuteranopia (green-blind)
#7896DA
Tritanopia (blue-blind)
#B48BA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87ddd;
/* rgb */ color: rgb(184, 125, 221);
/* oklch */ color: oklch(68.6% 0.149 311.3);
Tailwind
colors: {
  custom: {
    50: '#cfa4e8',
    500: '#b87ddd',
    950: '#000000',
  },
}
SCSS
$custom: #b87ddd;
$custom-light: #cfa4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ddd",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 276.875,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68638,
    "c": 0.14896,
    "h": 311.3
  },
  "luminance": 0.30078
}

Semantic roles & 50–950 ramp

primary
#B87DDD
secondary
#D8EACC
accent
#C61F60
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87DDD

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

Preview Lab → · Contrast checker → · Palette generator →

#B87DDD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva