#CB8DFC#CB8DFC

#CB8DFC is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.7% C 0.166 H 308.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CB8DFC
RGBrgb(203, 141, 252)
HSLhsl(274, 95%, 77%)
HSVhsv(274, 44%, 99%)
CMYKcmyk(19.4%, 44%, 0%, 1.2%)
CIE-LABlab(68.59, 43.60, -46.49)
CIE-LCHlch(68.59, 63.74, 313.16°)
OKLaboklab(74.7% 0.1035 -0.1294)
OKLCHoklch(74.7% 0.166 308.6)
XYZxyz(51.7208, 38.7752, 96.8363)
Luminance0.3877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DFC #BEFC8D
analogous
#948DFC #CB8DFC #FC8DF5
triadic
#CB8DFC #FCCB8D #8DFCCB
tetradic
#CB8DFC #FC948D #BEFC8D #8DF5FC
square
#CB8DFC #FC948D #BEFC8D #8DF5FC
split-complementary
#CB8DFC #F5FC8D #8DFC94
monochromatic
#9516F9 #B051FA #CB8DFC #E6C9FE #F1E1FE

Accessibility & contrast

On white

2.40
#CB8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#CB8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DFC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DFC#FFFFFF#000000##000000
##CB8DFC1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#C59FB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8dfc;
/* rgb */ color: rgb(203, 141, 252);
/* oklch */ color: oklch(74.7% 0.166 308.6);
Tailwind
colors: {
  custom: {
    50: '#ddaffe',
    500: '#cb8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #cb8dfc;
$custom-light: #ddaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8dfc",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 273.514,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.747,
    "c": 0.16573,
    "h": 308.6
  },
  "luminance": 0.38775
}

Semantic roles & 50–950 ramp

primary
#CB8DFC
secondary
#E4F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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