#CB8CE7#CB8CE7

#CB8CE7 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.5% C 0.143 H 314.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CB8CE7
RGBrgb(203, 140, 231)
HSLhsl(282, 65%, 73%)
HSVhsv(282, 39%, 91%)
CMYKcmyk(12.1%, 39.4%, 0%, 9.4%)
CIE-LABlab(67.44, 39.68, -36.77)
CIE-LCHlch(67.44, 54.09, 317.18°)
OKLaboklab(73.54% 0.1012 -0.1014)
OKLCHoklch(73.54% 0.143 314.9)
XYZxyz(48.4282, 37.2233, 80.2195)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CE7 #A8E78C
analogous
#9D8CE7 #CB8CE7 #E78CD6
triadic
#CB8CE7 #E7CB8C #8CE7CB
tetradic
#CB8CE7 #E79D8C #A8E78C #8CD6E7
square
#CB8CE7 #E79D8C #A8E78C #8CD6E7
split-complementary
#CB8CE7 #D6E78C #8CE79D
monochromatic
#9C2BCE #B459DC #CB8CE7 #E2BFF2 #F4E6FA

Accessibility & contrast

On white

2.49
#CB8CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CB8CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CE7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CE7#FFFFFF#000000##000000
##CB8CE71.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA0EA
Deuteranopia (green-blind)
#8CA6E4
Tritanopia (blue-blind)
#C998AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8ce7;
/* rgb */ color: rgb(203, 140, 231);
/* oklch */ color: oklch(73.5% 0.143 314.9);
Tailwind
colors: {
  custom: {
    50: '#dcaeef',
    500: '#cb8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ce7;
$custom-light: #dcaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ce7",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 281.538,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73537,
    "c": 0.14323,
    "h": 314.9
  },
  "luminance": 0.37222
}

Semantic roles & 50–950 ramp

primary
#CB8CE7
secondary
#E1F1DA
accent
#CD1850
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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