#CD8FE2#CD8FE2

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

Color values

HEX#CD8FE2
RGBrgb(205, 143, 226)
HSLhsl(285, 59%, 72%)
HSVhsv(285, 37%, 89%)
CMYKcmyk(9.3%, 36.7%, 0%, 11.4%)
CIE-LABlab(68.11, 37.64, -32.96)
CIE-LCHlch(68.11, 50.03, 318.79°)
OKLaboklab(74.02% 0.0981 -0.0905)
OKLCHoklch(74.02% 0.133 317.3)
XYZxyz(48.7248, 38.1163, 76.7272)
Luminance0.3811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FE2 #A4E28F
analogous
#A38FE2 #CD8FE2 #E28FCE
triadic
#CD8FE2 #E2CD8F #8FE2CD
tetradic
#CD8FE2 #E2A38F #A4E28F #8FCEE2
square
#CD8FE2 #E2A38F #A4E28F #8FCEE2
split-complementary
#CD8FE2 #CEE28F #8FE2A3
monochromatic
#9F33C4 #B75ED5 #CD8FE2 #E3C0EF #F4E7F9

Accessibility & contrast

On white

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

On black

8.62
#CD8FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FE2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FE2#FFFFFF#000000##000000
##CD8FE21.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8fe2;
/* rgb */ color: rgb(205, 143, 226);
/* oklch */ color: oklch(74.0% 0.133 317.3);
Tailwind
colors: {
  custom: {
    50: '#ddb1eb',
    500: '#cd8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fe2;
$custom-light: #ddb1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fe2",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 284.819,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74016,
    "c": 0.13345,
    "h": 317.3
  },
  "luminance": 0.38115
}

Semantic roles & 50–950 ramp

primary
#CD8FE2
secondary
#E0F0DB
accent
#C61F49
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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