#CB8DEE#CB8DEE

#CB8DEE is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.0% C 0.150 H 312.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CB8DEE
RGBrgb(203, 141, 238)
HSLhsl(278, 74%, 74%)
HSVhsv(278, 41%, 93%)
CMYKcmyk(14.7%, 40.8%, 0%, 6.7%)
CIE-LABlab(67.96, 40.60, -39.81)
CIE-LCHlch(67.96, 56.86, 315.56°)
OKLaboklab(74.02% 0.1011 -0.1101)
OKLCHoklch(74.02% 0.15 312.5)
XYZxyz(49.5835, 37.9203, 85.5797)
Luminance0.3792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DEE #B0EE8D
analogous
#9B8DEE #CB8DEE #EE8DE0
triadic
#CB8DEE #EECB8D #8DEECB
tetradic
#CB8DEE #EE9B8D #B0EE8D #8DE0EE
square
#CB8DEE #EE9B8D #B0EE8D #8DE0EE
split-complementary
#CB8DEE #E0EE8D #8DEE9B
monochromatic
#9A22DE #B358E6 #CB8DEE #E3C2F6 #F3E4FB

Accessibility & contrast

On white

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

On black

8.58
#CB8DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DEE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DEE#FFFFFF#000000##000000
##CB8DEE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#C89BB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8dee;
/* rgb */ color: rgb(203, 141, 238);
/* oklch */ color: oklch(74.0% 0.150 312.5);
Tailwind
colors: {
  custom: {
    50: '#dcaff4',
    500: '#cb8dee',
    950: '#000000',
  },
}
SCSS
$custom: #cb8dee;
$custom-light: #dcaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8dee",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 278.351,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74025,
    "c": 0.14951,
    "h": 312.5
  },
  "luminance": 0.37919
}

Semantic roles & 50–950 ramp

primary
#CB8DEE
secondary
#E2F3D8
accent
#D60F57
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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