#B99CDC#B99CDC

#B99CDC is a light, moderate violet. Relative luminance 0.393; OKLCH L 74.1% C 0.095 H 304.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B99CDC
RGBrgb(185, 156, 220)
HSLhsl(267, 48%, 74%)
HSVhsv(267, 29%, 86%)
CMYKcmyk(15.9%, 29.1%, 0%, 13.7%)
CIE-LABlab(68.94, 23.04, -28.53)
CIE-LCHlch(68.94, 36.67, 308.92°)
OKLaboklab(74.12% 0.0546 -0.0783)
OKLCHoklch(74.12% 0.095 304.9)
XYZxyz(44.8118, 39.2587, 72.9132)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99CDC #BFDC9C
analogous
#9C9FDC #B99CDC #D99CDC
triadic
#B99CDC #DCB99C #9CDCB9
tetradic
#B99CDC #DC9C9F #BFDC9C #9CDCD9
square
#B99CDC #DC9C9F #BFDC9C #9CDCD9
split-complementary
#B99CDC #DCD99C #9FDC9C
monochromatic
#7942BB #996FCC #B99CDC #D9C9EC #EFE8F7

Accessibility & contrast

On white

2.37
#B99CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B99CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99CDC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99CDC#FFFFFF#000000##000000
##B99CDC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DF
Deuteranopia (green-blind)
#95A8DA
Tritanopia (blue-blind)
#B4A5B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b99cdc;
/* rgb */ color: rgb(185, 156, 220);
/* oklch */ color: oklch(74.1% 0.095 304.9);
Tailwind
colors: {
  custom: {
    50: '#ceb9e7',
    500: '#b99cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b99cdc;
$custom-light: #ceb9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b99cdc",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 220
  },
  "hsl": {
    "h": 267.188,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74122,
    "c": 0.09548,
    "h": 304.9
  },
  "luminance": 0.39259
}

Semantic roles & 50–950 ramp

primary
#B99CDC
secondary
#E6EEDD
accent
#BB2A7A
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B99CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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