#CD7FCA#CD7FCA

#CD7FCA is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.4% C 0.137 H 328.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CD7FCA
RGBrgb(205, 127, 202)
HSLhsl(302, 44%, 65%)
HSVhsv(302, 38%, 80%)
CMYKcmyk(0%, 38%, 1.5%, 19.6%)
CIE-LABlab(63.69, 41.60, -26.42)
CIE-LCHlch(63.69, 49.28, 327.58°)
OKLaboklab(70.37% 0.1161 -0.0718)
OKLCHoklch(70.37% 0.137 328.3)
XYZxyz(43.4261, 32.4241, 59.8367)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FCA #7FCD82
analogous
#A97FCD #CD7FCA #CD7FA3
triadic
#CD7FCA #CACD7F #7FCACD
tetradic
#CD7FCA #CDA97F #7FCD82 #7FA3CD
square
#CD7FCA #CDA97F #7FCD82 #7FA3CD
split-complementary
#CD7FCA #A3CD7F #7FCDA9
monochromatic
#973B93 #BC53B8 #CD7FCA #DEABDC #EFD7EE

Accessibility & contrast

On white

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

On black

7.48
#CD7FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FCA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FCA#FFFFFF#000000##000000
##CD7FCA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#8E9EC7
Tritanopia (blue-blind)
#D2869B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fca;
/* rgb */ color: rgb(205, 127, 202);
/* oklch */ color: oklch(70.4% 0.137 328.3);
Tailwind
colors: {
  custom: {
    50: '#dda6da',
    500: '#cd7fca',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fca;
$custom-light: #dda6da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fca",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 302.308,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70374,
    "c": 0.13651,
    "h": 328.3
  },
  "luminance": 0.32422
}

Semantic roles & 50–950 ramp

primary
#CD7FCA
secondary
#C7E1C8
accent
#B7342F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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