#CD7FE2#CD7FE2

#CD7FE2 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.161 H 318.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE2
RGBrgb(205, 127, 226)
HSLhsl(287, 63%, 69%)
HSVhsv(287, 44%, 89%)
CMYKcmyk(9.3%, 43.8%, 0%, 11.4%)
CIE-LABlab(64.68, 46.18, -38.29)
CIE-LCHlch(64.68, 59.99, 320.34°)
OKLaboklab(71.44% 0.1211 -0.1056)
OKLCHoklch(71.44% 0.161 318.9)
XYZxyz(46.4919, 33.6504, 75.9829)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE2 #94E27F
analogous
#9C7FE2 #CD7FE2 #E27FC6
triadic
#CD7FE2 #E2CD7F #7FE2CD
tetradic
#CD7FE2 #E29C7F #94E27F #7FC6E2
square
#CD7FE2 #E29C7F #94E27F #7FC6E2
split-complementary
#CD7FE2 #C6E27F #7FE29C
monochromatic
#9D2BBC #BA4DD7 #CD7FE2 #E0B1ED #F4E3F9

Accessibility & contrast

On white

2.72
#CD7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CD7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE2#FFFFFF#000000##000000
##CD7FE21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#85A0DF
Tritanopia (blue-blind)
#CE8CA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe2;
/* rgb */ color: rgb(205, 127, 226);
/* oklch */ color: oklch(71.4% 0.161 318.9);
Tailwind
colors: {
  custom: {
    50: '#dea6eb',
    500: '#cd7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe2;
$custom-light: #dea6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe2",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 287.273,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71444,
    "c": 0.16069,
    "h": 318.9
  },
  "luminance": 0.33649
}

Semantic roles & 50–950 ramp

primary
#CD7FE2
secondary
#D6EDD0
accent
#CB1B40
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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