#CD8EED#CD8EED

#CD8EED is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.3% C 0.148 H 313.6°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CD8EED
RGBrgb(205, 142, 237)
HSLhsl(280, 73%, 74%)
HSVhsv(280, 40%, 93%)
CMYKcmyk(13.5%, 40.1%, 0%, 7.1%)
CIE-LABlab(68.34, 40.43, -38.65)
CIE-LCHlch(68.34, 55.93, 316.29°)
OKLaboklab(74.35% 0.1018 -0.1068)
OKLCHoklch(74.35% 0.148 313.6)
XYZxyz(50.1334, 38.4406, 84.8832)
Luminance0.3844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EED #AEED8E
analogous
#9E8EED #CD8EED #ED8EDE
triadic
#CD8EED #EDCD8E #8EEDCD
tetradic
#CD8EED #ED9E8E #AEED8E #8EDEED
square
#CD8EED #ED9E8E #AEED8E #8EDEED
split-complementary
#CD8EED #DEED8E #8EED9E
monochromatic
#9E24DC #B659E5 #CD8EED #E4C3F5 #F3E5FB

Accessibility & contrast

On white

2.42
#CD8EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CD8EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EED
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EED#FFFFFF#000000##000000
##CD8EED1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F1
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#CB9BB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8eed;
/* rgb */ color: rgb(205, 142, 237);
/* oklch */ color: oklch(74.3% 0.148 313.6);
Tailwind
colors: {
  custom: {
    50: '#ddb0f3',
    500: '#cd8eed',
    950: '#000000',
  },
}
SCSS
$custom: #cd8eed;
$custom-light: #ddb0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8eed",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 279.789,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74346,
    "c": 0.14754,
    "h": 313.6
  },
  "luminance": 0.3844
}

Semantic roles & 50–950 ramp

primary
#CD8EED
secondary
#E1F2D9
accent
#D51153
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EED

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

Preview Lab → · Contrast checker → · Palette generator →

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