#B99ECD#B99ECD

#B99ECD is a light, moderate violet. Relative luminance 0.392; OKLCH L 73.9% C 0.073 H 310.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B99ECD
RGBrgb(185, 158, 205)
HSLhsl(274, 32%, 71%)
HSVhsv(274, 23%, 80%)
CMYKcmyk(9.8%, 22.9%, 0%, 19.6%)
CIE-LABlab(68.88, 18.73, -20.34)
CIE-LCHlch(68.88, 27.65, 312.64°)
OKLaboklab(73.9% 0.0473 -0.0552)
OKLCHoklch(73.9% 0.073 310.6)
XYZxyz(43.2520, 39.1762, 63.0290)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99ECD #B2CD9E
analogous
#A19ECD #B99ECD #CD9EC9
triadic
#B99ECD #CDB99E #9ECDB9
tetradic
#B99ECD #CDA19E #B2CD9E #9EC9CD
square
#B99ECD #CDA19E #B2CD9E #9EC9CD
split-complementary
#B99ECD #C9CD9E #9ECDA1
monochromatic
#7E529F #9C76B8 #B99ECD #D6C6E2 #F0EBF5

Accessibility & contrast

On white

2.38
#B99ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B99ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99ECD
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99ECD#FFFFFF#000000##000000
##B99ECD1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CF
Deuteranopia (green-blind)
#9CA9CB
Tritanopia (blue-blind)
#B7A4AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b99ecd;
/* rgb */ color: rgb(185, 158, 205);
/* oklch */ color: oklch(73.9% 0.073 310.6);
Tailwind
colors: {
  custom: {
    50: '#cebadc',
    500: '#b99ecd',
    950: '#000000',
  },
}
SCSS
$custom: #b99ecd;
$custom-light: #cebadc;
$custom-dark: #000000;
JSON
{
  "hex": "#b99ecd",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 205
  },
  "hsl": {
    "h": 274.468,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73895,
    "c": 0.07272,
    "h": 310.6
  },
  "luminance": 0.39176
}

Semantic roles & 50–950 ramp

primary
#B99ECD
secondary
#E2EADD
accent
#AB3B6A
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B99ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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