#CD8EDF#CD8EDF

#CD8EDF is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.7% C 0.132 H 318.6°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CD8EDF
RGBrgb(205, 142, 223)
HSLhsl(287, 56%, 72%)
HSVhsv(287, 36%, 87%)
CMYKcmyk(8.1%, 36.3%, 0%, 12.5%)
CIE-LABlab(67.77, 37.58, -31.84)
CIE-LCHlch(67.77, 49.25, 319.73°)
OKLaboklab(73.72% 0.0988 -0.0873)
OKLCHoklch(73.72% 0.132 318.6)
XYZxyz(48.1673, 37.6542, 74.5284)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EDF #A0DF8E
analogous
#A58EDF #CD8EDF #DF8EC9
triadic
#CD8EDF #DFCD8E #8EDFCD
tetradic
#CD8EDF #DFA58E #A0DF8E #8EC9DF
square
#CD8EDF #DFA58E #A0DF8E #8EC9DF
split-complementary
#CD8EDF #C9DF8E #8EDFA5
monochromatic
#9F36BD #B85ED1 #CD8EDF #E2BEED #F4E7F8

Accessibility & contrast

On white

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

On black

8.53
#CD8EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EDF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EDF#FFFFFF#000000##000000
##CD8EDF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A1E2
Deuteranopia (green-blind)
#92A7DC
Tritanopia (blue-blind)
#CD98AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8edf;
/* rgb */ color: rgb(205, 142, 223);
/* oklch */ color: oklch(73.7% 0.132 318.6);
Tailwind
colors: {
  custom: {
    50: '#ddb0e9',
    500: '#cd8edf',
    950: '#000000',
  },
}
SCSS
$custom: #cd8edf;
$custom-light: #ddb0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8edf",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 223
  },
  "hsl": {
    "h": 286.667,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73718,
    "c": 0.13187,
    "h": 318.6
  },
  "luminance": 0.37653
}

Semantic roles & 50–950 ramp

primary
#CD8EDF
secondary
#DFEFDA
accent
#C32246
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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