#CD7ACD#CD7ACD

#CD7ACD is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.7% C 0.148 H 327.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CD7ACD
RGBrgb(205, 122, 205)
HSLhsl(300, 45%, 64%)
HSVhsv(300, 40%, 80%)
CMYKcmyk(0%, 40.5%, 0%, 19.6%)
CIE-LABlab(62.77, 44.79, -29.53)
CIE-LCHlch(62.77, 53.65, 326.60°)
OKLaboklab(69.72% 0.1242 -0.0806)
OKLCHoklch(69.72% 0.148 327)
XYZxyz(43.1550, 31.3080, 61.5157)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ACD #7ACD7A
analogous
#A47ACD #CD7ACD #CD7AA4
triadic
#CD7ACD #CDCD7A #7ACDCD
tetradic
#CD7ACD #CDA47A #7ACD7A #7AA4CD
square
#CD7ACD #CDA47A #7ACD7A #7AA4CD
split-complementary
#CD7ACD #A4CD7A #7ACDA4
monochromatic
#953895 #BC4EBC #CD7ACD #DEA6DE #EED3EE

Accessibility & contrast

On white

2.89
#CD7ACD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CD7ACD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ACD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ACD#FFFFFF#000000##000000
##CD7ACD1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#D2829A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7acd;
/* rgb */ color: rgb(205, 122, 205);
/* oklch */ color: oklch(69.7% 0.148 327.0);
Tailwind
colors: {
  custom: {
    50: '#dea2dc',
    500: '#cd7acd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7acd;
$custom-light: #dea2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7acd",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69719,
    "c": 0.14804,
    "h": 327
  },
  "luminance": 0.31306
}

Semantic roles & 50–950 ramp

primary
#CD7ACD
secondary
#C3E0C3
accent
#B92D2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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