#CB8EE3#CB8EE3

#CB8EE3 is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.7% C 0.135 H 316.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CB8EE3
RGBrgb(203, 142, 227)
HSLhsl(283, 60%, 72%)
HSVhsv(283, 37%, 89%)
CMYKcmyk(10.6%, 37.4%, 0%, 11%)
CIE-LABlab(67.72, 37.78, -34.14)
CIE-LCHlch(67.72, 50.92, 317.90°)
OKLaboklab(73.69% 0.0974 -0.0939)
OKLCHoklch(73.69% 0.135 316.1)
XYZxyz(48.1647, 37.5897, 77.3765)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EE3 #A6E38E
analogous
#A18EE3 #CB8EE3 #E38ED0
triadic
#CB8EE3 #E3CB8E #8EE3CB
tetradic
#CB8EE3 #E3A18E #A6E38E #8ED0E3
square
#CB8EE3 #E3A18E #A6E38E #8ED0E3
split-complementary
#CB8EE3 #D0E38E #8EE3A1
monochromatic
#9C31C6 #B45DD7 #CB8EE3 #E2BFEF #F4E6F9

Accessibility & contrast

On white

2.47
#CB8EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CB8EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EE3
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EE3#FFFFFF#000000##000000
##CB8EE31.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E6
Deuteranopia (green-blind)
#90A7E0
Tritanopia (blue-blind)
#CA99AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8ee3;
/* rgb */ color: rgb(203, 142, 227);
/* oklch */ color: oklch(73.7% 0.135 316.1);
Tailwind
colors: {
  custom: {
    50: '#dcb0ec',
    500: '#cb8ee3',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ee3;
$custom-light: #dcb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ee3",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 283.059,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73688,
    "c": 0.13531,
    "h": 316.1
  },
  "luminance": 0.37589
}

Semantic roles & 50–950 ramp

primary
#CB8EE3
secondary
#E1F0DB
accent
#C81E4E
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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