#CB8EE7#CB8EE7

#CB8EE7 is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.9% C 0.140 H 314.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CB8EE7
RGBrgb(203, 142, 231)
HSLhsl(281, 65%, 73%)
HSVhsv(281, 39%, 91%)
CMYKcmyk(12.1%, 38.5%, 0%, 9.4%)
CIE-LABlab(67.88, 38.60, -36.08)
CIE-LCHlch(67.88, 52.84, 316.93°)
OKLaboklab(73.87% 0.0983 -0.0995)
OKLCHoklch(73.87% 0.14 314.7)
XYZxyz(48.7231, 37.8131, 80.3178)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EE7 #AAE78E
analogous
#9E8EE7 #CB8EE7 #E78ED6
triadic
#CB8EE7 #E7CB8E #8EE7CB
tetradic
#CB8EE7 #E79E8E #AAE78E #8ED6E7
square
#CB8EE7 #E79E8E #AAE78E #8ED6E7
split-complementary
#CB8EE7 #D6E78E #8EE79E
monochromatic
#9B2CCF #B45CDC #CB8EE7 #E2C0F2 #F3E6FA

Accessibility & contrast

On white

2.45
#CB8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CB8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EE7
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EE7#FFFFFF#000000##000000
##CB8EE71.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA2EA
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#C99AB0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8ee7;
/* rgb */ color: rgb(203, 142, 231);
/* oklch */ color: oklch(73.9% 0.140 314.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0ef',
    500: '#cb8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ee7;
$custom-light: #dcb0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ee7",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 281.124,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73867,
    "c": 0.13983,
    "h": 314.7
  },
  "luminance": 0.37812
}

Semantic roles & 50–950 ramp

primary
#CB8EE7
secondary
#E1F1DA
accent
#CD1951
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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