#CD7FE8#CD7FE8

#CD7FE8 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.7% C 0.167 H 317.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE8
RGBrgb(205, 127, 232)
HSLhsl(285, 70%, 70%)
HSVhsv(285, 45%, 91%)
CMYKcmyk(11.6%, 45.3%, 0%, 9%)
CIE-LABlab(64.95, 47.38, -41.20)
CIE-LCHlch(64.95, 62.79, 319.00°)
OKLaboklab(71.73% 0.1221 -0.114)
OKLCHoklch(71.73% 0.167 317)
XYZxyz(47.3296, 33.9855, 80.3950)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE8 #9AE87F
analogous
#987FE8 #CD7FE8 #E87FCF
triadic
#CD7FE8 #E8CD7F #7FE8CD
tetradic
#CD7FE8 #E8987F #9AE87F #7FCFE8
square
#CD7FE8 #E8987F #9AE87F #7FCFE8
split-complementary
#CD7FE8 #CFE87F #7FE898
monochromatic
#9E24C9 #B94BDF #CD7FE8 #E1B3F1 #F5E5FA

Accessibility & contrast

On white

2.69
#CD7FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CD7FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE8#FFFFFF#000000##000000
##CD7FE81.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EC
Deuteranopia (green-blind)
#82A0E5
Tritanopia (blue-blind)
#CC8EA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7fe8;
/* rgb */ color: rgb(205, 127, 232);
/* oklch */ color: oklch(71.7% 0.167 317.0);
Tailwind
colors: {
  custom: {
    50: '#dea6ef',
    500: '#cd7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe8;
$custom-light: #dea6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe8",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 284.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71731,
    "c": 0.16703,
    "h": 317
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

primary
#CD7FE8
secondary
#DAF0D3
accent
#D21445
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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