#CD7CE7#CD7CE7

#CD7CE7 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.2% C 0.171 H 317.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CD7CE7
RGBrgb(205, 124, 231)
HSLhsl(285, 69%, 70%)
HSVhsv(285, 46%, 91%)
CMYKcmyk(11.3%, 46.3%, 0%, 9.4%)
CIE-LABlab(64.29, 48.75, -41.67)
CIE-LCHlch(64.29, 64.13, 319.47°)
OKLaboklab(71.23% 0.1261 -0.1154)
OKLCHoklch(71.23% 0.171 317.5)
XYZxyz(46.8063, 33.1655, 79.5218)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CE7 #96E77C
analogous
#987CE7 #CD7CE7 #E77CCB
triadic
#CD7CE7 #E7CD7C #7CE7CD
tetradic
#CD7CE7 #E7987C #96E77C #7CCBE7
square
#CD7CE7 #E7987C #96E77C #7CCBE7
split-complementary
#CD7CE7 #CBE77C #7CE798
monochromatic
#9E24C5 #B948DE #CD7CE7 #E1B0F0 #F4E3FA

Accessibility & contrast

On white

2.75
#CD7CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CD7CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CE7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CE7#FFFFFF#000000##000000
##CD7CE71.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EB
Deuteranopia (green-blind)
#809FE4
Tritanopia (blue-blind)
#CD8BA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7ce7;
/* rgb */ color: rgb(205, 124, 231);
/* oklch */ color: oklch(71.2% 0.171 317.5);
Tailwind
colors: {
  custom: {
    50: '#dea4ef',
    500: '#cd7ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ce7;
$custom-light: #dea4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ce7",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 285.421,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71227,
    "c": 0.1709,
    "h": 317.5
  },
  "luminance": 0.33164
}

Semantic roles & 50–950 ramp

primary
#CD7CE7
secondary
#D8EFD0
accent
#D11542
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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