#CB8BE7#CB8BE7

#CB8BE7 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.4% C 0.145 H 315.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CB8BE7
RGBrgb(203, 139, 231)
HSLhsl(282, 66%, 73%)
HSVhsv(282, 40%, 91%)
CMYKcmyk(12.1%, 39.8%, 0%, 9.4%)
CIE-LABlab(67.23, 40.22, -37.11)
CIE-LCHlch(67.23, 54.72, 317.31°)
OKLaboklab(73.37% 0.1026 -0.1024)
OKLCHoklch(73.37% 0.145 315.1)
XYZxyz(48.2828, 36.9324, 80.1710)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BE7 #A7E78B
analogous
#9D8BE7 #CB8BE7 #E78BD5
triadic
#CB8BE7 #E7CB8B #8BE7CB
tetradic
#CB8BE7 #E79D8B #A7E78B #8BD5E7
square
#CB8BE7 #E79D8B #A7E78B #8BD5E7
split-complementary
#CB8BE7 #D5E78B #8BE79D
monochromatic
#9C2ACD #B458DD #CB8BE7 #E2BEF1 #F4E6FA

Accessibility & contrast

On white

2.50
#CB8BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CB8BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BE7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BE7#FFFFFF#000000##000000
##CB8BE71.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EA
Deuteranopia (green-blind)
#8BA5E4
Tritanopia (blue-blind)
#C997AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8be7;
/* rgb */ color: rgb(203, 139, 231);
/* oklch */ color: oklch(73.4% 0.145 315.1);
Tailwind
colors: {
  custom: {
    50: '#dcaeef',
    500: '#cb8be7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8be7;
$custom-light: #dcaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8be7",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 281.739,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73373,
    "c": 0.14493,
    "h": 315.1
  },
  "luminance": 0.36931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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