#CD7CD8#CD7CD8

#CD7CD8 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.155 H 322.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD8
RGBrgb(205, 124, 216)
HSLhsl(293, 54%, 67%)
HSVhsv(293, 43%, 85%)
CMYKcmyk(5.1%, 42.6%, 0%, 15.3%)
CIE-LABlab(63.63, 45.80, -34.35)
CIE-LCHlch(63.63, 57.25, 323.13°)
OKLaboklab(70.52% 0.1235 -0.0943)
OKLCHoklch(70.52% 0.155 322.6)
XYZxyz(44.7778, 32.3541, 68.8387)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD8 #87D87C
analogous
#9F7CD8 #CD7CD8 #D87CB5
triadic
#CD7CD8 #D8CD7C #7CD8CD
tetradic
#CD7CD8 #D89F7C #87D87C #7CB5D8
square
#CD7CD8 #D89F7C #87D87C #7CB5D8
split-complementary
#CD7CD8 #B5D87C #7CD89F
monochromatic
#9A32A8 #BB4DCA #CD7CD8 #DFABE6 #F1DAF4

Accessibility & contrast

On white

2.81
#CD7CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CD7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD8#FFFFFF#000000##000000
##CD7CD81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DB
Deuteranopia (green-blind)
#879DD5
Tritanopia (blue-blind)
#D087A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cd8;
/* rgb */ color: rgb(205, 124, 216);
/* oklch */ color: oklch(70.5% 0.155 322.6);
Tailwind
colors: {
  custom: {
    50: '#dea4e4',
    500: '#cd7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd8;
$custom-light: #dea4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd8",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 292.826,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70518,
    "c": 0.15543,
    "h": 322.6
  },
  "luminance": 0.32352
}

Semantic roles & 50–950 ramp

primary
#CD7CD8
secondary
#CDE7C9
accent
#C22437
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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