#CD7DE6#CD7DE6

#CD7DE6 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.168 H 317.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CD7DE6
RGBrgb(205, 125, 230)
HSLhsl(286, 68%, 70%)
HSVhsv(286, 46%, 90%)
CMYKcmyk(10.9%, 45.7%, 0%, 9.8%)
CIE-LABlab(64.45, 48.03, -40.87)
CIE-LCHlch(64.45, 63.06, 319.60°)
OKLaboklab(71.33% 0.1245 -0.1131)
OKLCHoklch(71.33% 0.168 317.8)
XYZxyz(46.7914, 33.3610, 78.8221)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DE6 #96E67D
analogous
#997DE6 #CD7DE6 #E67DCB
triadic
#CD7DE6 #E6CD7D #7DE6CD
tetradic
#CD7DE6 #E6997D #96E67D #7DCBE6
square
#CD7DE6 #E6997D #96E67D #7DCBE6
split-complementary
#CD7DE6 #CBE67D #7DE699
monochromatic
#9E26C3 #B94ADC #CD7DE6 #E1B0F0 #F4E4FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7DE6#FFFFFF#000000##000000
##CD7DE61.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)
#6B97EA
Deuteranopia (green-blind)
#819FE3
Tritanopia (blue-blind)
#CD8BA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7de6;
/* rgb */ color: rgb(205, 125, 230);
/* oklch */ color: oklch(71.3% 0.168 317.8);
Tailwind
colors: {
  custom: {
    50: '#dea5ee',
    500: '#cd7de6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7de6;
$custom-light: #dea5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7de6",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 285.714,
    "s": 67.742,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71329,
    "c": 0.1682,
    "h": 317.8
  },
  "luminance": 0.3336
}

Semantic roles & 50–950 ramp

primary
#CD7DE6
secondary
#D8EED0
accent
#D01642
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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