#B99CD2#B99CD2

#B99CD2 is a light, moderate violet. Relative luminance 0.387; OKLCH L 73.7% C 0.083 H 308.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B99CD2
RGBrgb(185, 156, 210)
HSLhsl(272, 38%, 72%)
HSVhsv(272, 26%, 82%)
CMYKcmyk(11.9%, 25.7%, 0%, 17.6%)
CIE-LABlab(68.57, 20.89, -23.58)
CIE-LCHlch(68.57, 31.50, 311.54°)
OKLaboklab(73.71% 0.0518 -0.0643)
OKLCHoklch(73.71% 0.083 308.8)
XYZxyz(43.5268, 38.7447, 66.1457)
Luminance0.3874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99CD2 #B5D29C
analogous
#9E9CD2 #B99CD2 #D29CD0
triadic
#B99CD2 #D2B99C #9CD2B9
tetradic
#B99CD2 #D29E9C #B5D29C #9CD0D2
square
#B99CD2 #D29E9C #B5D29C #9CD0D2
split-complementary
#B99CD2 #D0D29C #9CD29E
monochromatic
#7D4CA7 #9B72BF #B99CD2 #D7C6E5 #F0EAF5

Accessibility & contrast

On white

2.40
#B99CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B99CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99CD2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99CD2#FFFFFF#000000##000000
##B99CD21.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A6D4
Deuteranopia (green-blind)
#99A8D0
Tritanopia (blue-blind)
#B6A3AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b99cd2;
/* rgb */ color: rgb(185, 156, 210);
/* oklch */ color: oklch(73.7% 0.083 308.8);
Tailwind
colors: {
  custom: {
    50: '#ceb9e0',
    500: '#b99cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b99cd2;
$custom-light: #ceb9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b99cd2",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 272.222,
    "s": 37.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73713,
    "c": 0.08258,
    "h": 308.8
  },
  "luminance": 0.38744
}

Semantic roles & 50–950 ramp

primary
#B99CD2
secondary
#E4ECDE
accent
#B0356E
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B99CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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