#CB8DEF#CB8DEF

#CB8DEF is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.1% C 0.151 H 312.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CB8DEF
RGBrgb(203, 141, 239)
HSLhsl(278, 75%, 75%)
HSVhsv(278, 41%, 94%)
CMYKcmyk(15.1%, 41%, 0%, 6.3%)
CIE-LABlab(68.01, 40.81, -40.29)
CIE-LCHlch(68.01, 57.35, 315.37°)
OKLaboklab(74.07% 0.1013 -0.1115)
OKLCHoklch(74.07% 0.151 312.2)
XYZxyz(49.7308, 37.9792, 86.3556)
Luminance0.3798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DEF #B1EF8D
analogous
#9A8DEF #CB8DEF #EF8DE2
triadic
#CB8DEF #EFCB8D #8DEFCB
tetradic
#CB8DEF #EF9A8D #B1EF8D #8DE2EF
square
#CB8DEF #EF9A8D #B1EF8D #8DE2EF
split-complementary
#CB8DEF #E2EF8D #8DEF9A
monochromatic
#9A22E0 #B357E7 #CB8DEF #E3C3F7 #F3E4FB

Accessibility & contrast

On white

2.44
#CB8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#CB8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DEF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DEF#FFFFFF#000000##000000
##CB8DEF1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#C89BB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8def;
/* rgb */ color: rgb(203, 141, 239);
/* oklch */ color: oklch(74.1% 0.151 312.2);
Tailwind
colors: {
  custom: {
    50: '#dcaff4',
    500: '#cb8def',
    950: '#000000',
  },
}
SCSS
$custom: #cb8def;
$custom-light: #dcaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8def",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 277.959,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74072,
    "c": 0.15067,
    "h": 312.2
  },
  "luminance": 0.37978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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