#CB8EE4#CB8EE4

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

Color values

HEX#CB8EE4
RGBrgb(203, 142, 228)
HSLhsl(283, 61%, 73%)
HSVhsv(283, 38%, 89%)
CMYKcmyk(11%, 37.7%, 0%, 10.6%)
CIE-LABlab(67.76, 37.98, -34.62)
CIE-LCHlch(67.76, 51.39, 317.65°)
OKLaboklab(73.73% 0.0977 -0.0953)
OKLCHoklch(73.73% 0.136 315.7)
XYZxyz(48.3031, 37.6451, 78.1054)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EE4 #A7E48E
analogous
#A08EE4 #CB8EE4 #E48ED2
triadic
#CB8EE4 #E4CB8E #8EE4CB
tetradic
#CB8EE4 #E4A08E #A7E48E #8ED2E4
square
#CB8EE4 #E4A08E #A7E48E #8ED2E4
split-complementary
#CB8EE4 #D2E48E #8EE4A0
monochromatic
#9C30C8 #B45DD8 #CB8EE4 #E2BFF0 #F4E6F9

Accessibility & contrast

On white

2.46
#CB8EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CB8EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EE4
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EE4#FFFFFF#000000##000000
##CB8EE41.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A1E7
Deuteranopia (green-blind)
#8FA7E1
Tritanopia (blue-blind)
#CA99AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8ee4;
/* rgb */ color: rgb(203, 142, 228);
/* oklch */ color: oklch(73.7% 0.136 315.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0ec',
    500: '#cb8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ee4;
$custom-light: #dcb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ee4",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 282.558,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73733,
    "c": 0.13643,
    "h": 315.7
  },
  "luminance": 0.37644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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