#CB8DEB#CB8DEB

#CB8DEB is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.9% C 0.146 H 313.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CB8DEB
RGBrgb(203, 141, 235)
HSLhsl(280, 70%, 74%)
HSVhsv(280, 40%, 92%)
CMYKcmyk(13.6%, 40%, 0%, 7.8%)
CIE-LABlab(67.83, 39.97, -38.36)
CIE-LCHlch(67.83, 55.40, 316.17°)
OKLaboklab(73.89% 0.1005 -0.106)
OKLCHoklch(73.89% 0.146 313.5)
XYZxyz(49.1464, 37.7454, 83.2778)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DEB #ADEB8D
analogous
#9C8DEB #CB8DEB #EB8DDC
triadic
#CB8DEB #EBCB8D #8DEBCB
tetradic
#CB8DEB #EB9C8D #ADEB8D #8DDCEB
square
#CB8DEB #EB9C8D #ADEB8D #8DDCEB
split-complementary
#CB8DEB #DCEB8D #8DEB9C
monochromatic
#9B26D8 #B359E2 #CB8DEB #E3C1F4 #F3E5FA

Accessibility & contrast

On white

2.46
#CB8DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CB8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DEB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DEB#FFFFFF#000000##000000
##CB8DEB1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#C99AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8deb;
/* rgb */ color: rgb(203, 141, 235);
/* oklch */ color: oklch(73.9% 0.146 313.5);
Tailwind
colors: {
  custom: {
    50: '#dcaff1',
    500: '#cb8deb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8deb;
$custom-light: #dcaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8deb",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 279.574,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73885,
    "c": 0.14608,
    "h": 313.5
  },
  "luminance": 0.37744
}

Semantic roles & 50–950 ramp

primary
#CB8DEB
secondary
#E2F2D9
accent
#D21354
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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