#CB9ECA#CB9ECA

#CB9ECA is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.5% C 0.080 H 327.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CB9ECA
RGBrgb(203, 158, 202)
HSLhsl(301, 30%, 71%)
HSVhsv(301, 22%, 80%)
CMYKcmyk(0%, 22.2%, 0.5%, 20.4%)
CIE-LABlab(70.47, 24.13, -16.12)
CIE-LCHlch(70.47, 29.01, 326.26°)
OKLaboklab(75.48% 0.0668 -0.0433)
OKLCHoklch(75.48% 0.08 327)
XYZxyz(47.5150, 41.4157, 61.3567)
Luminance0.4141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9ECA #9ECB9F
analogous
#B59ECB #CB9ECA #CB9EB3
triadic
#CB9ECA #CACB9E #9ECACB
tetradic
#CB9ECA #CBB59E #9ECB9F #9EB3CB
square
#CB9ECA #CBB59E #9ECB9F #9EB3CB
split-complementary
#CB9ECA #B3CB9E #9ECBB5
monochromatic
#9B539A #B676B4 #CB9ECA #E0C6E0 #F4EBF4

Accessibility & contrast

On white

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

On black

9.28
#CB9ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9ECA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9ECA#FFFFFF#000000##000000
##CB9ECA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CC
Deuteranopia (green-blind)
#A6AEC8
Tritanopia (blue-blind)
#CEA1AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb9eca;
/* rgb */ color: rgb(203, 158, 202);
/* oklch */ color: oklch(75.5% 0.080 327.0);
Tailwind
colors: {
  custom: {
    50: '#dbbbda',
    500: '#cb9eca',
    950: '#000000',
  },
}
SCSS
$custom: #cb9eca;
$custom-light: #dbbbda;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9eca",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 202
  },
  "hsl": {
    "h": 301.333,
    "s": 30.201,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75479,
    "c": 0.0796,
    "h": 327
  },
  "luminance": 0.41414
}

Semantic roles & 50–950 ramp

primary
#CB9ECA
secondary
#DCE8DD
accent
#A93F3D
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CB9ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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