#CD8FDF#CD8FDF

#CD8FDF is a light, vivid purple. Relative luminance 0.380; OKLCH L 73.9% C 0.130 H 318.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CD8FDF
RGBrgb(205, 143, 223)
HSLhsl(287, 56%, 72%)
HSVhsv(287, 36%, 87%)
CMYKcmyk(8.1%, 35.9%, 0%, 12.5%)
CIE-LABlab(67.99, 37.04, -31.49)
CIE-LCHlch(67.99, 48.62, 319.62°)
OKLaboklab(73.89% 0.0974 -0.0863)
OKLCHoklch(73.89% 0.13 318.4)
XYZxyz(48.3168, 37.9531, 74.5782)
Luminance0.3795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FDF #A1DF8F
analogous
#A58FDF #CD8FDF #DF8FC9
triadic
#CD8FDF #DFCD8F #8FDFCD
tetradic
#CD8FDF #DFA58F #A1DF8F #8FC9DF
square
#CD8FDF #DFA58F #A1DF8F #8FC9DF
split-complementary
#CD8FDF #C9DF8F #8FDFA5
monochromatic
#9F36BD #B85FD1 #CD8FDF #E2BFED #F4E7F8

Accessibility & contrast

On white

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

On black

8.59
#CD8FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FDF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FDF#FFFFFF#000000##000000
##CD8FDF1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E2
Deuteranopia (green-blind)
#93A8DD
Tritanopia (blue-blind)
#CD99AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8fdf;
/* rgb */ color: rgb(205, 143, 223);
/* oklch */ color: oklch(73.9% 0.130 318.4);
Tailwind
colors: {
  custom: {
    50: '#ddb1e9',
    500: '#cd8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fdf;
$custom-light: #ddb1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fdf",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 286.5,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73886,
    "c": 0.13014,
    "h": 318.4
  },
  "luminance": 0.37952
}

Semantic roles & 50–950 ramp

primary
#CD8FDF
secondary
#DFEFDB
accent
#C32247
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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