#CD8FE3#CD8FE3

#CD8FE3 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.1% C 0.135 H 316.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CD8FE3
RGBrgb(205, 143, 227)
HSLhsl(284, 60%, 73%)
HSVhsv(284, 37%, 89%)
CMYKcmyk(9.7%, 37%, 0%, 11%)
CIE-LABlab(68.15, 37.84, -33.45)
CIE-LCHlch(68.15, 50.51, 318.52°)
OKLaboklab(74.06% 0.0983 -0.0919)
OKLCHoklch(74.06% 0.135 316.9)
XYZxyz(48.8624, 38.1713, 77.4520)
Luminance0.3817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FE3 #A5E38F
analogous
#A38FE3 #CD8FE3 #E38FCF
triadic
#CD8FE3 #E3CD8F #8FE3CD
tetradic
#CD8FE3 #E3A38F #A5E38F #8FCFE3
square
#CD8FE3 #E3A38F #A5E38F #8FCFE3
split-complementary
#CD8FE3 #CFE38F #8FE3A3
monochromatic
#9F32C6 #B75ED7 #CD8FE3 #E3C0EF #F4E7F9

Accessibility & contrast

On white

2.43
#CD8FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CD8FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FE3
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FE3#FFFFFF#000000##000000
##CD8FE31.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E6
Deuteranopia (green-blind)
#92A8E0
Tritanopia (blue-blind)
#CD9AAF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8fe3;
/* rgb */ color: rgb(205, 143, 227);
/* oklch */ color: oklch(74.1% 0.135 316.9);
Tailwind
colors: {
  custom: {
    50: '#ddb1ec',
    500: '#cd8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fe3;
$custom-light: #ddb1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fe3",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 284.286,
    "s": 60,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.13457,
    "h": 316.9
  },
  "luminance": 0.3817
}

Semantic roles & 50–950 ramp

primary
#CD8FE3
secondary
#E0F0DB
accent
#C81E4A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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