#CD7CDA#CD7CDA

#CD7CDA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.6% C 0.157 H 321.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CD7CDA
RGBrgb(205, 124, 218)
HSLhsl(292, 56%, 67%)
HSVhsv(292, 43%, 85%)
CMYKcmyk(6%, 43.1%, 0%, 14.5%)
CIE-LABlab(63.72, 46.19, -35.34)
CIE-LCHlch(63.72, 58.16, 322.58°)
OKLaboklab(70.61% 0.1239 -0.0972)
OKLCHoklch(70.61% 0.157 321.9)
XYZxyz(45.0380, 32.4581, 70.2087)
Luminance0.3246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CDA #89DA7C
analogous
#9E7CDA #CD7CDA #DA7CB8
triadic
#CD7CDA #DACD7C #7CDACD
tetradic
#CD7CDA #DA9E7C #89DA7C #7CB8DA
square
#CD7CDA #DA9E7C #89DA7C #7CB8DA
split-complementary
#CD7CDA #B8DA7C #7CDA9E
monochromatic
#9A30AB #BB4CCD #CD7CDA #DFACE7 #F1DBF5

Accessibility & contrast

On white

2.80
#CD7CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CD7CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CDA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CDA#FFFFFF#000000##000000
##CD7CDA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DD
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#CF87A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cda;
/* rgb */ color: rgb(205, 124, 218);
/* oklch */ color: oklch(70.6% 0.157 321.9);
Tailwind
colors: {
  custom: {
    50: '#dea4e5',
    500: '#cd7cda',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cda;
$custom-light: #dea4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cda",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 291.702,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.15745,
    "h": 321.9
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

primary
#CD7CDA
secondary
#CEE8CA
accent
#C32238
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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