#CB8EC2#CB8EC2

#CB8EC2 is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.3% C 0.101 H 331.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CB8EC2
RGBrgb(203, 142, 194)
HSLhsl(309, 37%, 68%)
HSVhsv(309, 30%, 80%)
CMYKcmyk(0%, 30%, 4.4%, 20.4%)
CIE-LABlab(66.47, 31.41, -17.71)
CIE-LCHlch(66.47, 36.06, 330.59°)
OKLaboklab(72.34% 0.0889 -0.0476)
OKLCHoklch(72.34% 0.101 331.8)
XYZxyz(44.0386, 35.9393, 55.6457)
Luminance0.3594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EC2 #8ECB97
analogous
#B58ECB #CB8EC2 #CB8EA4
triadic
#CB8EC2 #C2CB8E #8EC2CB
tetradic
#CB8EC2 #CBB58E #8ECB97 #8EA4CB
square
#CB8EC2 #CBB58E #8ECB97 #8EA4CB
split-complementary
#CB8EC2 #A4CB8E #8ECBB5
monochromatic
#98468C #B864AB #CB8EC2 #DEB8D9 #F2E2EF

Accessibility & contrast

On white

2.56
#CB8EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CB8EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EC2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EC2#FFFFFF#000000##000000
##CB8EC21.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9CC4
Deuteranopia (green-blind)
#9BA5C0
Tritanopia (blue-blind)
#D091A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb8ec2;
/* rgb */ color: rgb(203, 142, 194);
/* oklch */ color: oklch(72.3% 0.101 331.8);
Tailwind
colors: {
  custom: {
    50: '#dbb0d4',
    500: '#cb8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ec2;
$custom-light: #dbb0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ec2",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 308.852,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72335,
    "c": 0.10078,
    "h": 331.8
  },
  "luminance": 0.35938
}

Semantic roles & 50–950 ramp

primary
#CB8EC2
secondary
#D1E4D4
accent
#B04836
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CB8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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