#CB9ECB#CB9ECB

#CB9ECB is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.5% C 0.081 H 326.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CB9ECB
RGBrgb(203, 158, 203)
HSLhsl(300, 30%, 71%)
HSVhsv(300, 22%, 80%)
CMYKcmyk(0%, 22.2%, 0%, 20.4%)
CIE-LABlab(70.50, 24.32, -16.62)
CIE-LCHlch(70.50, 29.45, 325.65°)
OKLaboklab(75.52% 0.0671 -0.0447)
OKLCHoklch(75.52% 0.081 326.3)
XYZxyz(47.6338, 41.4633, 61.9823)
Luminance0.4146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9ECB #9ECB9E
analogous
#B49ECB #CB9ECB #CB9EB4
triadic
#CB9ECB #CBCB9E #9ECBCB
tetradic
#CB9ECB #CBB49E #9ECB9E #9EB4CB
square
#CB9ECB #CBB49E #9ECB9E #9EB4CB
split-complementary
#CB9ECB #B4CB9E #9ECBB4
monochromatic
#9B539B #B676B6 #CB9ECB #E0C6E0 #F4EBF4

Accessibility & contrast

On white

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

On black

9.29
#CB9ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9ECB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9ECB#FFFFFF#000000##000000
##CB9ECB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb9ecb;
/* rgb */ color: rgb(203, 158, 203);
/* oklch */ color: oklch(75.5% 0.081 326.3);
Tailwind
colors: {
  custom: {
    50: '#dbbbda',
    500: '#cb9ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ecb;
$custom-light: #dbbbda;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ecb",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 30.201,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75515,
    "c": 0.08063,
    "h": 326.3
  },
  "luminance": 0.41462
}

Semantic roles & 50–950 ramp

primary
#CB9ECB
secondary
#DCE8DC
accent
#A93D3D
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CB9ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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