#CD7CCC#CD7CCC

#CD7CCC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.0% C 0.144 H 327.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD7CCC
RGBrgb(205, 124, 204)
HSLhsl(301, 45%, 65%)
HSVhsv(301, 40%, 80%)
CMYKcmyk(0%, 39.5%, 0.5%, 19.6%)
CIE-LABlab(63.14, 43.55, -28.39)
CIE-LCHlch(63.14, 51.99, 326.90°)
OKLaboklab(69.99% 0.121 -0.0774)
OKLCHoklch(69.99% 0.144 327.4)
XYZxyz(43.2828, 31.7560, 60.9647)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CCC #7CCD7D
analogous
#A67CCD #CD7CCC #CD7CA4
triadic
#CD7CCC #CCCD7C #7CCCCD
tetradic
#CD7CCC #CDA67C #7CCD7D #7CA4CD
square
#CD7CCC #CDA67C #7CCD7D #7CA4CD
split-complementary
#CD7CCC #A4CD7C #7CCDA6
monochromatic
#963994 #BC50BB #CD7CCC #DEA8DD #EFD5EE

Accessibility & contrast

On white

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

On black

7.35
#CD7CCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CCC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CCC#FFFFFF#000000##000000
##CD7CCC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#8B9DC9
Tritanopia (blue-blind)
#D2849B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7ccc;
/* rgb */ color: rgb(205, 124, 204);
/* oklch */ color: oklch(70.0% 0.144 327.4);
Tailwind
colors: {
  custom: {
    50: '#dea4db',
    500: '#cd7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ccc;
$custom-light: #dea4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ccc",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 300.741,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.14364,
    "h": 327.4
  },
  "luminance": 0.31754
}

Semantic roles & 50–950 ramp

primary
#CD7CCC
secondary
#C4E0C5
accent
#B82F2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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