#CD7EC0#CD7EC0

#CD7EC0 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.129 H 333.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CD7EC0
RGBrgb(205, 126, 192)
HSLhsl(310, 44%, 65%)
HSVhsv(310, 39%, 80%)
CMYKcmyk(0%, 38.5%, 6.3%, 19.6%)
CIE-LABlab(63.10, 40.34, -21.69)
CIE-LCHlch(63.10, 45.80, 331.73°)
OKLaboklab(69.8% 0.1151 -0.0585)
OKLCHoklch(69.8% 0.129 333)
XYZxyz(42.1518, 31.7088, 53.7591)
Luminance0.3171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EC0 #7ECD8B
analogous
#B27ECD #CD7EC0 #CD7E99
triadic
#CD7EC0 #C0CD7E #7EC0CD
tetradic
#CD7EC0 #CDB27E #7ECD8B #7E99CD
square
#CD7EC0 #CDB27E #7ECD8B #7E99CD
split-complementary
#CD7EC0 #99CD7E #7ECDB2
monochromatic
#963A87 #BC52AA #CD7EC0 #DEAAD6 #EFD6EB

Accessibility & contrast

On white

2.86
#CD7EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CD7EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EC0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EC0#FFFFFF#000000##000000
##CD7EC01.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C2
Deuteranopia (green-blind)
#919DBE
Tritanopia (blue-blind)
#D48297
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7ec0;
/* rgb */ color: rgb(205, 126, 192);
/* oklch */ color: oklch(69.8% 0.129 333.0);
Tailwind
colors: {
  custom: {
    50: '#dda5d3',
    500: '#cd7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ec0;
$custom-light: #dda5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ec0",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 309.873,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69805,
    "c": 0.1291,
    "h": 333
  },
  "luminance": 0.31707
}

Semantic roles & 50–950 ramp

primary
#CD7EC0
secondary
#C6E1CA
accent
#B7452E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CD7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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