#CD7FE5#CD7FE5

#CD7FE5 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.164 H 317.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE5
RGBrgb(205, 127, 229)
HSLhsl(286, 66%, 70%)
HSVhsv(286, 45%, 90%)
CMYKcmyk(10.5%, 44.5%, 0%, 10.2%)
CIE-LABlab(64.82, 46.78, -39.74)
CIE-LCHlch(64.82, 61.38, 319.65°)
OKLaboklab(71.59% 0.1216 -0.1098)
OKLCHoklch(71.59% 0.164 317.9)
XYZxyz(46.9071, 33.8165, 78.1699)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE5 #97E57F
analogous
#9A7FE5 #CD7FE5 #E57FCA
triadic
#CD7FE5 #E5CD7F #7FE5CD
tetradic
#CD7FE5 #E59A7F #97E57F #7FCAE5
square
#CD7FE5 #E59A7F #97E57F #7FCAE5
split-complementary
#CD7FE5 #CAE57F #7FE59A
monochromatic
#9E27C2 #B94CDB #CD7FE5 #E1B2EF #F5E5FA

Accessibility & contrast

On white

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

On black

7.76
#CD7FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE5#FFFFFF#000000##000000
##CD7FE51.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#83A0E2
Tritanopia (blue-blind)
#CD8DA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe5;
/* rgb */ color: rgb(205, 127, 229);
/* oklch */ color: oklch(71.6% 0.164 317.9);
Tailwind
colors: {
  custom: {
    50: '#dea6ed',
    500: '#cd7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe5;
$custom-light: #dea6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe5",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 285.882,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71587,
    "c": 0.16385,
    "h": 317.9
  },
  "luminance": 0.33815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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