#CD7CED#CD7CED

#CD7CED is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.5% C 0.177 H 315.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CD7CED
RGBrgb(205, 124, 237)
HSLhsl(283, 76%, 71%)
HSVhsv(283, 48%, 93%)
CMYKcmyk(13.5%, 47.7%, 0%, 7.1%)
CIE-LABlab(64.57, 49.96, -44.56)
CIE-LCHlch(64.57, 66.94, 318.27°)
OKLaboklab(71.52% 0.1269 -0.1237)
OKLCHoklch(71.52% 0.177 315.7)
XYZxyz(47.6682, 33.5102, 84.0614)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CED #9CED7C
analogous
#947CED #CD7CED #ED7CD4
triadic
#CD7CED #EDCD7C #7CEDCD
tetradic
#CD7CED #ED947C #9CED7C #7CD4ED
square
#CD7CED #ED947C #9CED7C #7CD4ED
split-complementary
#CD7CED #D4ED7C #7CED94
monochromatic
#9F1DD2 #B846E6 #CD7CED #E2B2F4 #F5E4FB

Accessibility & contrast

On white

2.73
#CD7CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CD7CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CED
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CED#FFFFFF#000000##000000
##CD7CED1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#CB8DAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7ced;
/* rgb */ color: rgb(205, 124, 237);
/* oklch */ color: oklch(71.5% 0.177 315.7);
Tailwind
colors: {
  custom: {
    50: '#dea4f3',
    500: '#cd7ced',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ced;
$custom-light: #dea4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ced",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 283.009,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.17724,
    "h": 315.7
  },
  "luminance": 0.33509
}

Semantic roles & 50–950 ramp

primary
#CD7CED
secondary
#DCF2D3
accent
#D80D47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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