#CD7EC3#CD7EC3

#CD7EC3 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.9% C 0.132 H 331.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CD7EC3
RGBrgb(205, 126, 195)
HSLhsl(308, 44%, 65%)
HSVhsv(308, 39%, 80%)
CMYKcmyk(0%, 38.5%, 4.9%, 19.6%)
CIE-LABlab(63.21, 40.87, -23.21)
CIE-LCHlch(63.21, 47.00, 330.40°)
OKLaboklab(69.93% 0.1159 -0.0628)
OKLCHoklch(69.93% 0.132 331.5)
XYZxyz(42.4876, 31.8431, 55.5275)
Luminance0.3184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EC3 #7ECD88
analogous
#B07ECD #CD7EC3 #CD7E9C
triadic
#CD7EC3 #C3CD7E #7EC3CD
tetradic
#CD7EC3 #CDB07E #7ECD88 #7E9CCD
square
#CD7EC3 #CDB07E #7ECD88 #7E9CCD
split-complementary
#CD7EC3 #9CCD7E #7ECDB0
monochromatic
#963A8B #BC52AE #CD7EC3 #DEAAD8 #EFD6EC

Accessibility & contrast

On white

2.85
#CD7EC3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CD7EC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EC3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EC3#FFFFFF#000000##000000
##CD7EC31.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C6
Deuteranopia (green-blind)
#909DC1
Tritanopia (blue-blind)
#D38398
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7ec3;
/* rgb */ color: rgb(205, 126, 195);
/* oklch */ color: oklch(69.9% 0.132 331.5);
Tailwind
colors: {
  custom: {
    50: '#dda5d5',
    500: '#cd7ec3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ec3;
$custom-light: #dda5d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ec3",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 307.595,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69926,
    "c": 0.13178,
    "h": 331.5
  },
  "luminance": 0.31841
}

Semantic roles & 50–950 ramp

primary
#CD7EC3
secondary
#C6E1C9
accent
#B7402E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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