#CD7CEE#CD7CEE

#CD7CEE is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.178 H 315.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CD7CEE
RGBrgb(205, 124, 238)
HSLhsl(283, 77%, 71%)
HSVhsv(283, 48%, 93%)
CMYKcmyk(13.9%, 47.9%, 0%, 6.7%)
CIE-LABlab(64.62, 50.16, -45.04)
CIE-LCHlch(64.62, 67.41, 318.08°)
OKLaboklab(71.57% 0.1271 -0.1251)
OKLCHoklch(71.57% 0.178 315.4)
XYZxyz(47.8147, 33.5688, 84.8330)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CEE #9DEE7C
analogous
#947CEE #CD7CEE #EE7CD6
triadic
#CD7CEE #EECD7C #7CEECD
tetradic
#CD7CEE #EE947C #9DEE7C #7CD6EE
square
#CD7CEE #EE947C #9DEE7C #7CD6EE
split-complementary
#CD7CEE #D6EE7C #7CEE94
monochromatic
#9F1CD4 #B846E7 #CD7CEE #E2B2F5 #F5E4FB

Accessibility & contrast

On white

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

On black

7.71
#CD7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CEE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CEE#FFFFFF#000000##000000
##CD7CEE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#CB8DAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7cee;
/* rgb */ color: rgb(205, 124, 238);
/* oklch */ color: oklch(71.6% 0.178 315.4);
Tailwind
colors: {
  custom: {
    50: '#dea4f4',
    500: '#cd7cee',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cee;
$custom-light: #dea4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cee",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 282.632,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71574,
    "c": 0.17831,
    "h": 315.4
  },
  "luminance": 0.33567
}

Semantic roles & 50–950 ramp

primary
#CD7CEE
secondary
#DDF2D4
accent
#D90C48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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