#CB8ECB#CB8ECB

#CB8ECB is a light, moderate purple. Relative luminance 0.364; OKLCH L 72.7% C 0.110 H 326.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CB8ECB
RGBrgb(203, 142, 203)
HSLhsl(300, 37%, 68%)
HSVhsv(300, 30%, 80%)
CMYKcmyk(0%, 30%, 0%, 20.4%)
CIE-LABlab(66.79, 33.07, -22.25)
CIE-LCHlch(66.79, 39.86, 326.07°)
OKLaboklab(72.68% 0.0915 -0.0602)
OKLCHoklch(72.68% 0.11 326.6)
XYZxyz(45.0801, 36.3559, 61.1311)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8ECB #8ECB8E
analogous
#AC8ECB #CB8ECB #CB8EAC
triadic
#CB8ECB #CBCB8E #8ECBCB
tetradic
#CB8ECB #CBAC8E #8ECB8E #8EACCB
square
#CB8ECB #CBAC8E #8ECB8E #8EACCB
split-complementary
#CB8ECB #ACCB8E #8ECBAC
monochromatic
#984698 #B864B8 #CB8ECB #DEB8DE #F2E2F2

Accessibility & contrast

On white

2.54
#CB8ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CB8ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8ECB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8ECB#FFFFFF#000000##000000
##CB8ECB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECD
Deuteranopia (green-blind)
#98A5C9
Tritanopia (blue-blind)
#CF93A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb8ecb;
/* rgb */ color: rgb(203, 142, 203);
/* oklch */ color: oklch(72.7% 0.110 326.6);
Tailwind
colors: {
  custom: {
    50: '#dbb0db',
    500: '#cb8ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ecb;
$custom-light: #dbb0db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ecb",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.10952,
    "h": 326.6
  },
  "luminance": 0.36354
}

Semantic roles & 50–950 ramp

primary
#CB8ECB
secondary
#D1E4D1
accent
#B03636
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151015
muted
#837F83

Preview Lab

Preview with #CB8ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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