#CD7CCD#CD7CCD

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

Color values

HEX#CD7CCD
RGBrgb(205, 124, 205)
HSLhsl(300, 45%, 65%)
HSVhsv(300, 40%, 80%)
CMYKcmyk(0%, 39.5%, 0%, 19.6%)
CIE-LABlab(63.18, 43.74, -28.89)
CIE-LCHlch(63.18, 52.42, 326.55°)
OKLaboklab(70.03% 0.1212 -0.0788)
OKLCHoklch(70.03% 0.145 327)
XYZxyz(43.4031, 31.8042, 61.5984)
Luminance0.3180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CCD #7CCD7C
analogous
#A57CCD #CD7CCD #CD7CA5
triadic
#CD7CCD #CDCD7C #7CCDCD
tetradic
#CD7CCD #CDA57C #7CCD7C #7CA5CD
square
#CD7CCD #CDA57C #7CCD7C #7CA5CD
split-complementary
#CD7CCD #A5CD7C #7CCDA5
monochromatic
#963996 #BC50BC #CD7CCD #DEA8DE #EFD5EF

Accessibility & contrast

On white

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

On black

7.36
#CD7CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CCD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CCD#FFFFFF#000000##000000
##CD7CCD1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7ccd;
/* rgb */ color: rgb(205, 124, 205);
/* oklch */ color: oklch(70.0% 0.145 327.0);
Tailwind
colors: {
  custom: {
    50: '#dea4dc',
    500: '#cd7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ccd;
$custom-light: #dea4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ccd",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70029,
    "c": 0.14459,
    "h": 327
  },
  "luminance": 0.31802
}

Semantic roles & 50–950 ramp

primary
#CD7CCD
secondary
#C4E0C4
accent
#B82E2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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