#CB8DED#CB8DED

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

Color values

HEX#CB8DED
RGBrgb(203, 141, 237)
HSLhsl(279, 73%, 74%)
HSVhsv(279, 41%, 93%)
CMYKcmyk(14.3%, 40.5%, 0%, 7.1%)
CIE-LABlab(67.92, 40.39, -39.33)
CIE-LCHlch(67.92, 56.37, 315.76°)
OKLaboklab(73.98% 0.1009 -0.1088)
OKLCHoklch(73.98% 0.148 312.9)
XYZxyz(49.4370, 37.8617, 84.8081)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DED #AFED8D
analogous
#9B8DED #CB8DED #ED8DDF
triadic
#CB8DED #EDCB8D #8DEDCB
tetradic
#CB8DED #ED9B8D #AFED8D #8DDFED
square
#CB8DED #ED9B8D #AFED8D #8DDFED
split-complementary
#CB8DED #DFED8D #8DED9B
monochromatic
#9B23DC #B358E5 #CB8DED #E3C2F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.57
#CB8DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DED
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DED#FFFFFF#000000##000000
##CB8DED1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F1
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#C89BB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8ded;
/* rgb */ color: rgb(203, 141, 237);
/* oklch */ color: oklch(74.0% 0.148 312.9);
Tailwind
colors: {
  custom: {
    50: '#dcaff3',
    500: '#cb8ded',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ded;
$custom-light: #dcaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ded",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 278.75,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73978,
    "c": 0.14837,
    "h": 312.9
  },
  "luminance": 0.37861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8DED

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

Preview Lab → · Contrast checker → · Palette generator →

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