#CB8DFE#CB8DFE

#CB8DFE is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.8% C 0.168 H 308.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CB8DFE
RGBrgb(203, 141, 254)
HSLhsl(273, 98%, 77%)
HSVhsv(273, 44%, 100%)
CMYKcmyk(20.1%, 44.5%, 0%, 0.4%)
CIE-LABlab(68.68, 44.04, -47.44)
CIE-LCHlch(68.68, 64.73, 312.87°)
OKLaboklab(74.8% 0.1038 -0.1322)
OKLCHoklch(74.8% 0.168 308.1)
XYZxyz(52.0394, 38.9026, 98.5142)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DFE #C0FE8D
analogous
#928DFE #CB8DFE #FE8DF9
triadic
#CB8DFE #FECB8D #8DFECB
tetradic
#CB8DFE #FE928D #C0FE8D #8DF9FE
square
#CB8DFE #FE928D #C0FE8D #8DF9FE
split-complementary
#CB8DFE #F9FE8D #8DFE92
monochromatic
#9414FD #AF50FD #CB8DFE #E7CAFF #F1E1FF

Accessibility & contrast

On white

2.39
#CB8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CB8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DFE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DFE#FFFFFF#000000##000000
##CB8DFE1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#C49FBA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8dfe;
/* rgb */ color: rgb(203, 141, 254);
/* oklch */ color: oklch(74.8% 0.168 308.1);
Tailwind
colors: {
  custom: {
    50: '#ddafff',
    500: '#cb8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cb8dfe;
$custom-light: #ddafff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8dfe",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 272.92,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.748,
    "c": 0.16805,
    "h": 308.1
  },
  "luminance": 0.38902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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