#CB8ECA#CB8ECA

#CB8ECA is a light, moderate purple. Relative luminance 0.363; OKLCH L 72.6% C 0.109 H 327.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CB8ECA
RGBrgb(203, 142, 202)
HSLhsl(301, 37%, 68%)
HSVhsv(301, 30%, 80%)
CMYKcmyk(0%, 30%, 0.5%, 20.4%)
CIE-LABlab(66.75, 32.88, -21.75)
CIE-LCHlch(66.75, 39.42, 326.52°)
OKLaboklab(72.64% 0.0912 -0.0588)
OKLCHoklch(72.64% 0.109 327.2)
XYZxyz(44.9613, 36.3084, 60.5055)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8ECA #8ECB8F
analogous
#AE8ECB #CB8ECA #CB8EAB
triadic
#CB8ECA #CACB8E #8ECACB
tetradic
#CB8ECA #CBAE8E #8ECB8F #8EABCB
square
#CB8ECA #CBAE8E #8ECB8F #8EABCB
split-complementary
#CB8ECA #ABCB8E #8ECBAE
monochromatic
#984697 #B864B6 #CB8ECA #DEB8DE #F2E2F1

Accessibility & contrast

On white

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

On black

8.26
#CB8ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8ECA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8ECA#FFFFFF#000000##000000
##CB8ECA1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECC
Deuteranopia (green-blind)
#99A5C8
Tritanopia (blue-blind)
#CF93A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb8eca;
/* rgb */ color: rgb(203, 142, 202);
/* oklch */ color: oklch(72.6% 0.109 327.2);
Tailwind
colors: {
  custom: {
    50: '#dbb0da',
    500: '#cb8eca',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eca;
$custom-light: #dbb0da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eca",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 300.984,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72642,
    "c": 0.10851,
    "h": 327.2
  },
  "luminance": 0.36307
}

Semantic roles & 50–950 ramp

primary
#CB8ECA
secondary
#D1E4D1
accent
#B03836
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CB8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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