#CD7EE1#CD7EE1

#CD7EE1 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.161 H 319.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CD7EE1
RGBrgb(205, 126, 225)
HSLhsl(288, 62%, 69%)
HSVhsv(288, 44%, 88%)
CMYKcmyk(8.9%, 44%, 0%, 11.8%)
CIE-LABlab(64.43, 46.51, -38.12)
CIE-LCHlch(64.43, 60.14, 320.66°)
OKLaboklab(71.24% 0.1223 -0.1052)
OKLCHoklch(71.24% 0.161 319.3)
XYZxyz(46.2265, 33.3387, 75.2195)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EE1 #92E17E
analogous
#9C7EE1 #CD7EE1 #E17EC4
triadic
#CD7EE1 #E1CD7E #7EE1CD
tetradic
#CD7EE1 #E19C7E #92E17E #7EC4E1
square
#CD7EE1 #E19C7E #92E17E #7EC4E1
split-complementary
#CD7EE1 #C4E17E #7EE19C
monochromatic
#9D2BB9 #BA4CD5 #CD7EE1 #E0B0ED #F3E1F8

Accessibility & contrast

On white

2.74
#CD7EE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CD7EE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EE1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EE1#FFFFFF#000000##000000
##CD7EE11.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E5
Deuteranopia (green-blind)
#849FDE
Tritanopia (blue-blind)
#CE8BA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7ee1;
/* rgb */ color: rgb(205, 126, 225);
/* oklch */ color: oklch(71.2% 0.161 319.3);
Tailwind
colors: {
  custom: {
    50: '#dea5ea',
    500: '#cd7ee1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ee1;
$custom-light: #dea5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ee1",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 225
  },
  "hsl": {
    "h": 287.879,
    "s": 62.264,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71243,
    "c": 0.16131,
    "h": 319.3
  },
  "luminance": 0.33337
}

Semantic roles & 50–950 ramp

primary
#CD7EE1
secondary
#D5ECCF
accent
#CA1B3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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