#CD8EEF#CD8EEF

#CD8EEF is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.150 H 313.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CD8EEF
RGBrgb(205, 142, 239)
HSLhsl(279, 75%, 75%)
HSVhsv(279, 41%, 94%)
CMYKcmyk(14.2%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.43, 40.85, -39.61)
CIE-LCHlch(68.43, 56.90, 315.88°)
OKLaboklab(74.44% 0.1022 -0.1095)
OKLCHoklch(74.44% 0.15 313)
XYZxyz(50.4272, 38.5581, 86.4306)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EEF #B0EF8E
analogous
#9D8EEF #CD8EEF #EF8EE1
triadic
#CD8EEF #EFCD8E #8EEFCD
tetradic
#CD8EEF #EF9D8E #B0EF8E #8EE1EF
square
#CD8EEF #EF9D8E #B0EF8E #8EE1EF
split-complementary
#CD8EEF #E1EF8E #8EEF9D
monochromatic
#9E23E0 #B558E7 #CD8EEF #E5C4F7 #F3E4FB

Accessibility & contrast

On white

2.41
#CD8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CD8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EEF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EEF#FFFFFF#000000##000000
##CD8EEF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F3
Deuteranopia (green-blind)
#8CA8EC
Tritanopia (blue-blind)
#CA9CB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8eef;
/* rgb */ color: rgb(205, 142, 239);
/* oklch */ color: oklch(74.4% 0.150 313.0);
Tailwind
colors: {
  custom: {
    50: '#deb0f4',
    500: '#cd8eef',
    950: '#000000',
  },
}
SCSS
$custom: #cd8eef;
$custom-light: #deb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8eef",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 278.969,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74438,
    "c": 0.14982,
    "h": 313
  },
  "luminance": 0.38557
}

Semantic roles & 50–950 ramp

primary
#CD8EEF
secondary
#E1F3D8
accent
#D70E55
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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