#CD7FE7#CD7FE7

#CD7FE7 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.166 H 317.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE7
RGBrgb(205, 127, 231)
HSLhsl(285, 68%, 70%)
HSVhsv(285, 45%, 91%)
CMYKcmyk(11.3%, 45%, 0%, 9.4%)
CIE-LABlab(64.91, 47.18, -40.71)
CIE-LCHlch(64.91, 62.32, 319.21°)
OKLaboklab(71.68% 0.1219 -0.1126)
OKLCHoklch(71.68% 0.166 317.3)
XYZxyz(47.1880, 33.9288, 79.6490)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE7 #99E77F
analogous
#997FE7 #CD7FE7 #E77FCD
triadic
#CD7FE7 #E7CD7F #7FE7CD
tetradic
#CD7FE7 #E7997F #99E77F #7FCDE7
square
#CD7FE7 #E7997F #99E77F #7FCDE7
split-complementary
#CD7FE7 #CDE77F #7FE799
monochromatic
#9E25C6 #B94BDD #CD7FE7 #E1B3F1 #F5E5FA

Accessibility & contrast

On white

2.70
#CD7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CD7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE7#FFFFFF#000000##000000
##CD7FE71.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98EB
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#CD8DA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe7;
/* rgb */ color: rgb(205, 127, 231);
/* oklch */ color: oklch(71.7% 0.166 317.3);
Tailwind
colors: {
  custom: {
    50: '#dea6ef',
    500: '#cd7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe7;
$custom-light: #dea6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe7",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 285,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71683,
    "c": 0.16597,
    "h": 317.3
  },
  "luminance": 0.33927
}

Semantic roles & 50–950 ramp

primary
#CD7FE7
secondary
#DAEFD2
accent
#D01544
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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