#CD7CCA#CD7CCA

#CD7CCA is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.9% C 0.142 H 328.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CD7CCA
RGBrgb(205, 124, 202)
HSLhsl(302, 45%, 65%)
HSVhsv(302, 40%, 80%)
CMYKcmyk(0%, 39.5%, 1.5%, 19.6%)
CIE-LABlab(63.06, 43.19, -27.39)
CIE-LCHlch(63.06, 51.14, 327.62°)
OKLaboklab(69.9% 0.1206 -0.0745)
OKLCHoklch(69.9% 0.142 328.3)
XYZxyz(43.0444, 31.6607, 59.7095)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CCA #7CCD7F
analogous
#A87CCD #CD7CCA #CD7CA2
triadic
#CD7CCA #CACD7C #7CCACD
tetradic
#CD7CCA #CDA87C #7CCD7F #7CA2CD
square
#CD7CCA #CDA87C #7CCD7F #7CA2CD
split-complementary
#CD7CCA #A2CD7C #7CCDA8
monochromatic
#963992 #BC50B8 #CD7CCA #DEA8DC #EFD5EE

Accessibility & contrast

On white

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

On black

7.33
#CD7CCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CCA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CCA#FFFFFF#000000##000000
##CD7CCA1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#8C9CC7
Tritanopia (blue-blind)
#D2839A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7cca;
/* rgb */ color: rgb(205, 124, 202);
/* oklch */ color: oklch(69.9% 0.142 328.3);
Tailwind
colors: {
  custom: {
    50: '#dea4da',
    500: '#cd7cca',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cca;
$custom-light: #dea4da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cca",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 202
  },
  "hsl": {
    "h": 302.222,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69901,
    "c": 0.14174,
    "h": 328.3
  },
  "luminance": 0.31659
}

Semantic roles & 50–950 ramp

primary
#CD7CCA
secondary
#C4E0C5
accent
#B8332E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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