#CD7CE3#CD7CE3

#CD7CE3 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.0% C 0.167 H 318.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD7CE3
RGBrgb(205, 124, 227)
HSLhsl(287, 65%, 69%)
HSVhsv(287, 45%, 89%)
CMYKcmyk(9.7%, 45.4%, 0%, 11%)
CIE-LABlab(64.11, 47.95, -39.73)
CIE-LCHlch(64.11, 62.27, 320.35°)
OKLaboklab(71.03% 0.1255 -0.1098)
OKLCHoklch(71.03% 0.167 318.8)
XYZxyz(46.2478, 32.9421, 76.5804)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CE3 #92E37C
analogous
#9A7CE3 #CD7CE3 #E37CC6
triadic
#CD7CE3 #E3CD7C #7CE3CD
tetradic
#CD7CE3 #E39A7C #92E37C #7CC6E3
square
#CD7CE3 #E39A7C #92E37C #7CC6E3
split-complementary
#CD7CE3 #C6E37C #7CE39A
monochromatic
#9D28BC #BA4AD8 #CD7CE3 #E0AEEE #F3E1F9

Accessibility & contrast

On white

2.77
#CD7CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CD7CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CE3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CE3#FFFFFF#000000##000000
##CD7CE31.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E7
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#CD8AA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ce3;
/* rgb */ color: rgb(205, 124, 227);
/* oklch */ color: oklch(71.0% 0.167 318.8);
Tailwind
colors: {
  custom: {
    50: '#dea4ec',
    500: '#cd7ce3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ce3;
$custom-light: #dea4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ce3",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 287.184,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.16672,
    "h": 318.8
  },
  "luminance": 0.3294
}

Semantic roles & 50–950 ramp

primary
#CD7CE3
secondary
#D5EDCE
accent
#CD193F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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