#CD7EEF#CD7EEF

#CD7EEF is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.176 H 315.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CD7EEF
RGBrgb(205, 126, 239)
HSLhsl(282, 78%, 72%)
HSVhsv(282, 47%, 94%)
CMYKcmyk(14.2%, 47.3%, 0%, 6.3%)
CIE-LABlab(65.07, 49.33, -44.88)
CIE-LCHlch(65.07, 66.69, 317.71°)
OKLaboklab(71.92% 0.1245 -0.1247)
OKLCHoklch(71.92% 0.176 315)
XYZxyz(48.2152, 34.1341, 85.6933)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EEF #A0EF7E
analogous
#957EEF #CD7EEF #EF7ED9
triadic
#CD7EEF #EFCD7E #7EEFCD
tetradic
#CD7EEF #EF957E #A0EF7E #7ED9EF
square
#CD7EEF #EF957E #A0EF7E #7ED9EF
split-complementary
#CD7EEF #D9EF7E #7EEF95
monochromatic
#9F1BD8 #B848E8 #CD7EEF #E2B4F6 #F4E4FC

Accessibility & contrast

On white

2.68
#CD7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CD7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EEF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EEF#FFFFFF#000000##000000
##CD7EEF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#CB8FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7eef;
/* rgb */ color: rgb(205, 126, 239);
/* oklch */ color: oklch(71.9% 0.176 315.0);
Tailwind
colors: {
  custom: {
    50: '#dea5f4',
    500: '#cd7eef',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eef;
$custom-light: #dea5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eef",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 281.947,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71924,
    "c": 0.17615,
    "h": 315
  },
  "luminance": 0.34133
}

Semantic roles & 50–950 ramp

primary
#CD7EEF
secondary
#DFF3D6
accent
#DA0B4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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