#CB8FE2#CB8FE2

#CB8FE2 is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.8% C 0.132 H 316.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CB8FE2
RGBrgb(203, 143, 226)
HSLhsl(283, 59%, 72%)
HSVhsv(283, 37%, 89%)
CMYKcmyk(10.2%, 36.7%, 0%, 11.4%)
CIE-LABlab(67.90, 37.03, -33.30)
CIE-LCHlch(67.90, 49.80, 318.03°)
OKLaboklab(73.81% 0.0958 -0.0915)
OKLCHoklch(73.81% 0.132 316.3)
XYZxyz(48.1765, 37.8336, 76.7015)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FE2 #A6E28F
analogous
#A18FE2 #CB8FE2 #E28FD0
triadic
#CB8FE2 #E2CB8F #8FE2CB
tetradic
#CB8FE2 #E2A18F #A6E28F #8FD0E2
square
#CB8FE2 #E2A18F #A6E28F #8FD0E2
split-complementary
#CB8FE2 #D0E28F #8FE2A1
monochromatic
#9C33C4 #B45ED5 #CB8FE2 #E2C0EF #F4E7F9

Accessibility & contrast

On white

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

On black

8.57
#CB8FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FE2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FE2#FFFFFF#000000##000000
##CB8FE21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E5
Deuteranopia (green-blind)
#91A7DF
Tritanopia (blue-blind)
#CA9AAE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8fe2;
/* rgb */ color: rgb(203, 143, 226);
/* oklch */ color: oklch(73.8% 0.132 316.3);
Tailwind
colors: {
  custom: {
    50: '#dcb0eb',
    500: '#cb8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fe2;
$custom-light: #dcb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fe2",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 283.373,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73811,
    "c": 0.13246,
    "h": 316.3
  },
  "luminance": 0.37832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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