#CB9ECC#CB9ECC

#CB9ECC is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.6% C 0.082 H 325.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CB9ECC
RGBrgb(203, 158, 204)
HSLhsl(299, 31%, 71%)
HSVhsv(299, 23%, 80%)
CMYKcmyk(0.5%, 22.5%, 0%, 20%)
CIE-LABlab(70.53, 24.50, -17.12)
CIE-LCHlch(70.53, 29.89, 325.06°)
OKLaboklab(75.55% 0.0674 -0.0461)
OKLCHoklch(75.55% 0.082 325.6)
XYZxyz(47.7533, 41.5111, 62.6119)
Luminance0.4151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9ECC #9FCC9E
analogous
#B49ECC #CB9ECC #CC9EB6
triadic
#CB9ECC #CCCB9E #9ECCCB
tetradic
#CB9ECC #CCB49E #9FCC9E #9EB6CC
square
#CB9ECC #CCB49E #9FCC9E #9EB6CC
split-complementary
#CB9ECC #B6CC9E #9ECCB4
monochromatic
#9B539D #B576B7 #CB9ECC #E1C6E1 #F4EBF4

Accessibility & contrast

On white

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

On black

9.30
#CB9ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9ECC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9ECC#FFFFFF#000000##000000
##CB9ECC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CE
Deuteranopia (green-blind)
#A5AECA
Tritanopia (blue-blind)
#CEA2AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb9ecc;
/* rgb */ color: rgb(203, 158, 204);
/* oklch */ color: oklch(75.6% 0.082 325.6);
Tailwind
colors: {
  custom: {
    50: '#dbbbdb',
    500: '#cb9ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ecc;
$custom-light: #dbbbdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ecc",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 204
  },
  "hsl": {
    "h": 298.696,
    "s": 31.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75551,
    "c": 0.08166,
    "h": 325.6
  },
  "luminance": 0.4151
}

Semantic roles & 50–950 ramp

primary
#CB9ECC
secondary
#DDE9DD
accent
#AA3C3E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB9ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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