#CD8FE6#CD8FE6

#CD8FE6 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.2% C 0.138 H 315.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CD8FE6
RGBrgb(205, 143, 230)
HSLhsl(283, 64%, 73%)
HSVhsv(283, 38%, 90%)
CMYKcmyk(10.9%, 37.8%, 0%, 9.8%)
CIE-LABlab(68.27, 38.45, -34.92)
CIE-LCHlch(68.27, 51.94, 317.76°)
OKLaboklab(74.19% 0.099 -0.0961)
OKLCHoklch(74.19% 0.138 315.8)
XYZxyz(49.2801, 38.3384, 79.6516)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FE6 #A8E68F
analogous
#A18FE6 #CD8FE6 #E68FD3
triadic
#CD8FE6 #E6CD8F #8FE6CD
tetradic
#CD8FE6 #E6A18F #A8E68F #8FD3E6
square
#CD8FE6 #E6A18F #A8E68F #8FD3E6
split-complementary
#CD8FE6 #D3E68F #8FE6A1
monochromatic
#9F2ECD #B75DDB #CD8FE6 #E3C1F1 #F4E6F9

Accessibility & contrast

On white

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

On black

8.67
#CD8FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FE6
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FE6#FFFFFF#000000##000000
##CD8FE61.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3E9
Deuteranopia (green-blind)
#90A8E3
Tritanopia (blue-blind)
#CC9AB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8fe6;
/* rgb */ color: rgb(205, 143, 230);
/* oklch */ color: oklch(74.2% 0.138 315.8);
Tailwind
colors: {
  custom: {
    50: '#ddb1ee',
    500: '#cd8fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fe6;
$custom-light: #ddb1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fe6",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 230
  },
  "hsl": {
    "h": 282.759,
    "s": 63.504,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74193,
    "c": 0.13793,
    "h": 315.8
  },
  "luminance": 0.38337
}

Semantic roles & 50–950 ramp

primary
#CD8FE6
secondary
#E1F1DA
accent
#CB1A4D
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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