#CB8DFD#CB8DFD

#CB8DFD is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.8% C 0.167 H 308.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CB8DFD
RGBrgb(203, 141, 253)
HSLhsl(273, 97%, 77%)
HSVhsv(273, 44%, 99%)
CMYKcmyk(19.8%, 44.3%, 0%, 0.8%)
CIE-LABlab(68.63, 43.82, -46.97)
CIE-LCHlch(68.63, 64.23, 313.02°)
OKLaboklab(74.75% 0.1036 -0.1308)
OKLCHoklch(74.75% 0.167 308.4)
XYZxyz(51.8797, 38.8387, 97.6730)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DFD #BFFD8D
analogous
#938DFD #CB8DFD #FD8DF7
triadic
#CB8DFD #FDCB8D #8DFDCB
tetradic
#CB8DFD #FD938D #BFFD8D #8DF7FD
square
#CB8DFD #FD938D #BFFD8D #8DF7FD
split-complementary
#CB8DFD #F7FD8D #8DFD93
monochromatic
#9415FB #B051FC #CB8DFD #E6C9FE #F1E1FE

Accessibility & contrast

On white

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

On black

8.77
#CB8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DFD
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DFD#FFFFFF#000000##000000
##CB8DFD1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#C49FB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8dfd;
/* rgb */ color: rgb(203, 141, 253);
/* oklch */ color: oklch(74.8% 0.167 308.4);
Tailwind
colors: {
  custom: {
    50: '#ddaffe',
    500: '#cb8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cb8dfd;
$custom-light: #ddaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8dfd",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 273.214,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.16689,
    "h": 308.4
  },
  "luminance": 0.38838
}

Semantic roles & 50–950 ramp

primary
#CB8DFD
secondary
#E4F7D4
accent
#E60066
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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