#CD7FE1#CD7FE1

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

Color values

HEX#CD7FE1
RGBrgb(205, 127, 225)
HSLhsl(288, 62%, 69%)
HSVhsv(288, 44%, 88%)
CMYKcmyk(8.9%, 43.6%, 0%, 11.8%)
CIE-LABlab(64.64, 45.98, -37.80)
CIE-LCHlch(64.64, 59.53, 320.58°)
OKLaboklab(71.4% 0.1209 -0.1042)
OKLCHoklch(71.4% 0.16 319.2)
XYZxyz(46.3550, 33.5957, 75.2624)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE1 #93E17F
analogous
#9C7FE1 #CD7FE1 #E17FC4
triadic
#CD7FE1 #E1CD7F #7FE1CD
tetradic
#CD7FE1 #E19C7F #93E17F #7FC4E1
square
#CD7FE1 #E19C7F #93E17F #7FC4E1
split-complementary
#CD7FE1 #C4E17F #7FE19C
monochromatic
#9D2CBA #BA4DD5 #CD7FE1 #E0B1ED #F4E2F8

Accessibility & contrast

On white

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

On black

7.72
#CD7FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE1
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE1#FFFFFF#000000##000000
##CD7FE11.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E4
Deuteranopia (green-blind)
#85A0DE
Tritanopia (blue-blind)
#CE8CA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe1;
/* rgb */ color: rgb(205, 127, 225);
/* oklch */ color: oklch(71.4% 0.160 319.2);
Tailwind
colors: {
  custom: {
    50: '#dea6ea',
    500: '#cd7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe1;
$custom-light: #dea6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe1",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 287.755,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.15963,
    "h": 319.2
  },
  "luminance": 0.33594
}

Semantic roles & 50–950 ramp

primary
#CD7FE1
secondary
#D5ECD0
accent
#CA1C3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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