#CD7EED#CD7EED

#CD7EED is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.174 H 315.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CD7EED
RGBrgb(205, 126, 237)
HSLhsl(283, 76%, 71%)
HSVhsv(283, 47%, 93%)
CMYKcmyk(13.5%, 46.8%, 0%, 7.1%)
CIE-LABlab(64.98, 48.92, -43.92)
CIE-LCHlch(64.98, 65.75, 318.08°)
OKLaboklab(71.82% 0.1242 -0.1219)
OKLCHoklch(71.82% 0.174 315.5)
XYZxyz(47.9214, 34.0166, 84.1458)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EED #9EED7E
analogous
#957EED #CD7EED #ED7ED5
triadic
#CD7EED #EDCD7E #7EEDCD
tetradic
#CD7EED #ED957E #9EED7E #7ED5ED
square
#CD7EED #ED957E #9EED7E #7ED5ED
split-complementary
#CD7EED #D5ED7E #7EED95
monochromatic
#9F1DD3 #B848E6 #CD7EED #E2B4F4 #F5E4FB

Accessibility & contrast

On white

2.69
#CD7EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CD7EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EED
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EED#FFFFFF#000000##000000
##CD7EED1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#CB8EAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7eed;
/* rgb */ color: rgb(205, 126, 237);
/* oklch */ color: oklch(71.8% 0.174 315.5);
Tailwind
colors: {
  custom: {
    50: '#dea5f3',
    500: '#cd7eed',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eed;
$custom-light: #dea5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eed",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 282.703,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71824,
    "c": 0.17401,
    "h": 315.5
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

primary
#CD7EED
secondary
#DDF2D5
accent
#D80E48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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