#CD8FE1#CD8FE1

#CD8FE1 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.0% C 0.132 H 317.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CD8FE1
RGBrgb(205, 143, 225)
HSLhsl(285, 58%, 72%)
HSVhsv(285, 36%, 88%)
CMYKcmyk(8.9%, 36.4%, 0%, 11.8%)
CIE-LABlab(68.07, 37.44, -32.48)
CIE-LCHlch(68.07, 49.56, 319.06°)
OKLaboklab(73.97% 0.0979 -0.0891)
OKLCHoklch(73.97% 0.132 317.7)
XYZxyz(48.5880, 38.0616, 76.0067)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FE1 #A3E18F
analogous
#A48FE1 #CD8FE1 #E18FCC
triadic
#CD8FE1 #E1CD8F #8FE1CD
tetradic
#CD8FE1 #E1A48F #A3E18F #8FCCE1
square
#CD8FE1 #E1A48F #A3E18F #8FCCE1
split-complementary
#CD8FE1 #CCE18F #8FE1A4
monochromatic
#9F34C2 #B75FD4 #CD8FE1 #E3BFEE #F4E7F9

Accessibility & contrast

On white

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

On black

8.61
#CD8FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FE1
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FE1#FFFFFF#000000##000000
##CD8FE11.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E4
Deuteranopia (green-blind)
#92A8DE
Tritanopia (blue-blind)
#CD99AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8fe1;
/* rgb */ color: rgb(205, 143, 225);
/* oklch */ color: oklch(74.0% 0.132 317.7);
Tailwind
colors: {
  custom: {
    50: '#ddb1ea',
    500: '#cd8fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fe1;
$custom-light: #ddb1ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fe1",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 225
  },
  "hsl": {
    "h": 285.366,
    "s": 57.746,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73972,
    "c": 0.13235,
    "h": 317.7
  },
  "luminance": 0.3806
}

Semantic roles & 50–950 ramp

primary
#CD8FE1
secondary
#E0F0DB
accent
#C52048
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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