#CB9ECD#CB9ECD

#CB9ECD is a light, moderate purple. Relative luminance 0.416; OKLCH L 75.6% C 0.083 H 325.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CB9ECD
RGBrgb(203, 158, 205)
HSLhsl(297, 32%, 71%)
HSVhsv(297, 23%, 80%)
CMYKcmyk(1%, 22.9%, 0%, 19.6%)
CIE-LABlab(70.57, 24.69, -17.62)
CIE-LCHlch(70.57, 30.34, 324.49°)
OKLaboklab(75.59% 0.0677 -0.0475)
OKLCHoklch(75.59% 0.083 325)
XYZxyz(47.8736, 41.5592, 63.2456)
Luminance0.4156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9ECD #A0CD9E
analogous
#B39ECD #CB9ECD #CD9EB7
triadic
#CB9ECD #CDCB9E #9ECDCB
tetradic
#CB9ECD #CDB39E #A0CD9E #9EB7CD
square
#CB9ECD #CDB39E #A0CD9E #9EB7CD
split-complementary
#CB9ECD #B7CD9E #9ECDB3
monochromatic
#9B529F #B576B8 #CB9ECD #E1C6E2 #F4EBF5

Accessibility & contrast

On white

2.26
#CB9ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CB9ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9ECD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9ECD#FFFFFF#000000##000000
##CB9ECD1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CF
Deuteranopia (green-blind)
#A5AFCB
Tritanopia (blue-blind)
#CEA2AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb9ecd;
/* rgb */ color: rgb(203, 158, 205);
/* oklch */ color: oklch(75.6% 0.083 325.0);
Tailwind
colors: {
  custom: {
    50: '#dbbbdc',
    500: '#cb9ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ecd;
$custom-light: #dbbbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ecd",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 205
  },
  "hsl": {
    "h": 297.447,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75588,
    "c": 0.08272,
    "h": 325
  },
  "luminance": 0.41558
}

Semantic roles & 50–950 ramp

primary
#CB9ECD
secondary
#DEEADD
accent
#AB3B40
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB9ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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