#CB8FFC#CB8FFC

#CB8FFC is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.0% C 0.163 H 308.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CB8FFC
RGBrgb(203, 143, 252)
HSLhsl(273, 95%, 77%)
HSVhsv(273, 43%, 99%)
CMYKcmyk(19.4%, 43.3%, 0%, 1.2%)
CIE-LABlab(69.02, 42.53, -45.82)
CIE-LCHlch(69.02, 62.51, 312.87°)
OKLaboklab(75.02% 0.1008 -0.1275)
OKLCHoklch(75.02% 0.163 308.3)
XYZxyz(52.0184, 39.3703, 96.9355)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FFC #C0FC8F
analogous
#958FFC #CB8FFC #FC8FF6
triadic
#CB8FFC #FCCB8F #8FFCCB
tetradic
#CB8FFC #FC958F #C0FC8F #8FF6FC
square
#CB8FFC #FC958F #C0FC8F #8FF6FC
split-complementary
#CB8FFC #F6FC8F #8FFC95
monochromatic
#9418F9 #AF53FA #CB8FFC #E7CBFE #F1E1FE

Accessibility & contrast

On white

2.37
#CB8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CB8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FFC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FFC#FFFFFF#000000##000000
##CB8FFC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#C4A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8ffc;
/* rgb */ color: rgb(203, 143, 252);
/* oklch */ color: oklch(75.0% 0.163 308.3);
Tailwind
colors: {
  custom: {
    50: '#ddb1fe',
    500: '#cb8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ffc;
$custom-light: #ddb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ffc",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 273.028,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75023,
    "c": 0.1625,
    "h": 308.3
  },
  "luminance": 0.3937
}

Semantic roles & 50–950 ramp

primary
#CB8FFC
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CB8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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