#CD7CD2#CD7CD2

#CD7CD2 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.149 H 324.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD2
RGBrgb(205, 124, 210)
HSLhsl(297, 49%, 65%)
HSVhsv(297, 41%, 82%)
CMYKcmyk(2.4%, 41%, 0%, 17.6%)
CIE-LABlab(63.38, 44.67, -31.38)
CIE-LCHlch(63.38, 54.59, 324.91°)
OKLaboklab(70.25% 0.1223 -0.0859)
OKLCHoklch(70.25% 0.149 324.9)
XYZxyz(44.0163, 32.0495, 64.8279)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD2 #81D27C
analogous
#A27CD2 #CD7CD2 #D27CAC
triadic
#CD7CD2 #D2CD7C #7CD2CD
tetradic
#CD7CD2 #D2A27C #81D27C #7CACD2
square
#CD7CD2 #D2A27C #81D27C #7CACD2
split-complementary
#CD7CD2 #ACD27C #7CD2A2
monochromatic
#97369D #BC4EC2 #CD7CD2 #DEAAE2 #F0D7F1

Accessibility & contrast

On white

2.83
#CD7CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CD7CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD2#FFFFFF#000000##000000
##CD7CD21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#D1859D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7cd2;
/* rgb */ color: rgb(205, 124, 210);
/* oklch */ color: oklch(70.2% 0.149 324.9);
Tailwind
colors: {
  custom: {
    50: '#dea4e0',
    500: '#cd7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd2;
$custom-light: #dea4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd2",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 296.512,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.14945,
    "h": 324.9
  },
  "luminance": 0.32048
}

Semantic roles & 50–950 ramp

primary
#CD7CD2
secondary
#C8E3C6
accent
#BC2932
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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