#CD7CD6#CD7CD6

#CD7CD6 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.4% C 0.153 H 323.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD6
RGBrgb(205, 124, 214)
HSLhsl(294, 52%, 66%)
HSVhsv(294, 42%, 84%)
CMYKcmyk(4.2%, 42.1%, 0%, 16.1%)
CIE-LABlab(63.55, 45.42, -33.37)
CIE-LCHlch(63.55, 56.36, 323.70°)
OKLaboklab(70.43% 0.1231 -0.0915)
OKLCHoklch(70.43% 0.153 323.4)
XYZxyz(44.5208, 32.2513, 67.4853)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD6 #85D67C
analogous
#A07CD6 #CD7CD6 #D67CB2
triadic
#CD7CD6 #D6CD7C #7CD6CD
tetradic
#CD7CD6 #D6A07C #85D67C #7CB2D6
square
#CD7CD6 #D6A07C #85D67C #7CB2D6
split-complementary
#CD7CD6 #B2D67C #7CD6A0
monochromatic
#9933A4 #BB4DC7 #CD7CD6 #DFABE5 #F1D9F3

Accessibility & contrast

On white

2.82
#CD7CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CD7CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD6#FFFFFF#000000##000000
##CD7CD61.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294D9
Deuteranopia (green-blind)
#889DD3
Tritanopia (blue-blind)
#D0869F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cd6;
/* rgb */ color: rgb(205, 124, 214);
/* oklch */ color: oklch(70.4% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#dea4e3',
    500: '#cd7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd6;
$custom-light: #dea4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd6",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 294,
    "s": 52.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.15342,
    "h": 323.4
  },
  "luminance": 0.32249
}

Semantic roles & 50–950 ramp

primary
#CD7CD6
secondary
#CBE6C8
accent
#C02635
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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