#CD8FE7#CD8FE7

#CD8FE7 is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.2% C 0.139 H 315.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CD8FE7
RGBrgb(205, 143, 231)
HSLhsl(282, 65%, 73%)
HSVhsv(282, 38%, 91%)
CMYKcmyk(11.3%, 38.1%, 0%, 9.4%)
CIE-LABlab(68.31, 38.66, -35.40)
CIE-LCHlch(68.31, 52.42, 317.51°)
OKLaboklab(74.24% 0.0992 -0.0975)
OKLCHoklch(74.24% 0.139 315.5)
XYZxyz(49.4209, 38.3947, 80.3933)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FE7 #A9E78F
analogous
#A18FE7 #CD8FE7 #E78FD5
triadic
#CD8FE7 #E7CD8F #8FE7CD
tetradic
#CD8FE7 #E7A18F #A9E78F #8FD5E7
square
#CD8FE7 #E7A18F #A9E78F #8FD5E7
split-complementary
#CD8FE7 #D5E78F #8FE7A1
monochromatic
#9F2CCF #B75DDC #CD8FE7 #E3C1F2 #F4E6FA

Accessibility & contrast

On white

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

On black

8.68
#CD8FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FE7
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FE7#FFFFFF#000000##000000
##CD8FE71.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3EA
Deuteranopia (green-blind)
#90A8E4
Tritanopia (blue-blind)
#CC9BB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8fe7;
/* rgb */ color: rgb(205, 143, 231);
/* oklch */ color: oklch(74.2% 0.139 315.5);
Tailwind
colors: {
  custom: {
    50: '#ddb1ef',
    500: '#cd8fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fe7;
$custom-light: #ddb1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fe7",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 282.273,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74237,
    "c": 0.13906,
    "h": 315.5
  },
  "luminance": 0.38394
}

Semantic roles & 50–950 ramp

primary
#CD8FE7
secondary
#E1F1DA
accent
#CD194E
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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