#CD7ACA#CD7ACA

#CD7ACA is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.6% C 0.145 H 328.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CD7ACA
RGBrgb(205, 122, 202)
HSLhsl(302, 45%, 64%)
HSVhsv(302, 40%, 80%)
CMYKcmyk(0%, 40.5%, 1.5%, 19.6%)
CIE-LABlab(62.65, 44.24, -28.03)
CIE-LCHlch(62.65, 52.37, 327.64°)
OKLaboklab(69.59% 0.1235 -0.0763)
OKLCHoklch(69.59% 0.145 328.3)
XYZxyz(42.7963, 31.1645, 59.6268)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ACA #7ACD7D
analogous
#A77ACD #CD7ACA #CD7AA1
triadic
#CD7ACA #CACD7A #7ACACD
tetradic
#CD7ACA #CDA77A #7ACD7D #7AA1CD
square
#CD7ACA #CDA77A #7ACD7D #7AA1CD
split-complementary
#CD7ACA #A1CD7A #7ACDA7
monochromatic
#953891 #BC4EB8 #CD7ACA #DEA6DC #EED3ED

Accessibility & contrast

On white

2.90
#CD7ACA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CD7ACA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ACA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ACA#FFFFFF#000000##000000
##CD7ACA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8B9BC7
Tritanopia (blue-blind)
#D28199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7aca;
/* rgb */ color: rgb(205, 122, 202);
/* oklch */ color: oklch(69.6% 0.145 328.3);
Tailwind
colors: {
  custom: {
    50: '#dea2da',
    500: '#cd7aca',
    950: '#000000',
  },
}
SCSS
$custom: #cd7aca;
$custom-light: #dea2da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7aca",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 302.169,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.1452,
    "h": 328.3
  },
  "luminance": 0.31162
}

Semantic roles & 50–950 ramp

primary
#CD7ACA
secondary
#C3E0C4
accent
#B9322D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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