#CD7FE4#CD7FE4

#CD7FE4 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.5% C 0.163 H 318.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE4
RGBrgb(205, 127, 228)
HSLhsl(286, 65%, 70%)
HSVhsv(286, 44%, 89%)
CMYKcmyk(10.1%, 44.3%, 0%, 10.6%)
CIE-LABlab(64.77, 46.58, -39.26)
CIE-LCHlch(64.77, 60.92, 319.87°)
OKLaboklab(71.54% 0.1214 -0.1084)
OKLCHoklch(71.54% 0.163 318.2)
XYZxyz(46.7679, 33.7608, 77.4367)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE4 #96E47F
analogous
#9B7FE4 #CD7FE4 #E47FC8
triadic
#CD7FE4 #E4CD7F #7FE4CD
tetradic
#CD7FE4 #E49B7F #96E47F #7FC8E4
square
#CD7FE4 #E49B7F #96E47F #7FC8E4
split-complementary
#CD7FE4 #C8E47F #7FE49B
monochromatic
#9E29C0 #B94CD9 #CD7FE4 #E1B2EF #F4E4F9

Accessibility & contrast

On white

2.71
#CD7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CD7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE4#FFFFFF#000000##000000
##CD7FE41.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E8
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#CD8CA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe4;
/* rgb */ color: rgb(205, 127, 228);
/* oklch */ color: oklch(71.5% 0.163 318.2);
Tailwind
colors: {
  custom: {
    50: '#dea6ed',
    500: '#cd7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe4;
$custom-light: #dea6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe4",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 286.337,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.16279,
    "h": 318.2
  },
  "luminance": 0.33759
}

Semantic roles & 50–950 ramp

primary
#CD7FE4
secondary
#D8EED1
accent
#CD1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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