#CD7EC8#CD7EC8

#CD7EC8 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.136 H 329.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD7EC8
RGBrgb(205, 126, 200)
HSLhsl(304, 44%, 65%)
HSVhsv(304, 39%, 80%)
CMYKcmyk(0%, 38.5%, 2.4%, 19.6%)
CIE-LABlab(63.40, 41.77, -25.74)
CIE-LCHlch(63.40, 49.06, 328.36°)
OKLaboklab(70.13% 0.1171 -0.0699)
OKLCHoklch(70.13% 0.136 329.2)
XYZxyz(43.0624, 32.0730, 58.5548)
Luminance0.3207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EC8 #7ECD83
analogous
#AA7ECD #CD7EC8 #CD7EA1
triadic
#CD7EC8 #C8CD7E #7EC8CD
tetradic
#CD7EC8 #CDAA7E #7ECD83 #7EA1CD
square
#CD7EC8 #CDAA7E #7ECD83 #7EA1CD
split-complementary
#CD7EC8 #A1CD7E #7ECDAA
monochromatic
#963A91 #BC52B5 #CD7EC8 #DEAADB #EFD6EE

Accessibility & contrast

On white

2.83
#CD7EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CD7EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EC8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EC8#FFFFFF#000000##000000
##CD7EC81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CB
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#D2849A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7ec8;
/* rgb */ color: rgb(205, 126, 200);
/* oklch */ color: oklch(70.1% 0.136 329.2);
Tailwind
colors: {
  custom: {
    50: '#dda5d9',
    500: '#cd7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ec8;
$custom-light: #dda5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ec8",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 303.797,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.13637,
    "h": 329.2
  },
  "luminance": 0.32071
}

Semantic roles & 50–950 ramp

primary
#CD7EC8
secondary
#C6E1C8
accent
#B7372E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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