#CD7CDC#CD7CDC

#CD7CDC is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.7% C 0.159 H 321.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD7CDC
RGBrgb(205, 124, 220)
HSLhsl(291, 58%, 67%)
HSVhsv(291, 44%, 86%)
CMYKcmyk(6.8%, 43.6%, 0%, 13.7%)
CIE-LABlab(63.81, 46.57, -36.32)
CIE-LCHlch(63.81, 59.06, 322.05°)
OKLaboklab(70.7% 0.1243 -0.1)
OKLCHoklch(70.7% 0.159 321.2)
XYZxyz(45.3012, 32.5634, 71.5954)
Luminance0.3256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CDC #8BDC7C
analogous
#9D7CDC #CD7CDC #DC7CBB
triadic
#CD7CDC #DCCD7C #7CDCCD
tetradic
#CD7CDC #DC9D7C #8BDC7C #7CBBDC
square
#CD7CDC #DC9D7C #8BDC7C #7CBBDC
split-complementary
#CD7CDC #BBDC7C #7CDC9D
monochromatic
#9B2FAF #BB4CCF #CD7CDC #DFACE9 #F2DDF6

Accessibility & contrast

On white

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

On black

7.51
#CD7CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CDC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CDC#FFFFFF#000000##000000
##CD7CDC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#859ED9
Tritanopia (blue-blind)
#CF88A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7cdc;
/* rgb */ color: rgb(205, 124, 220);
/* oklch */ color: oklch(70.7% 0.159 321.2);
Tailwind
colors: {
  custom: {
    50: '#dea4e7',
    500: '#cd7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cdc;
$custom-light: #dea4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cdc",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 290.625,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70703,
    "c": 0.15949,
    "h": 321.2
  },
  "luminance": 0.32562
}

Semantic roles & 50–950 ramp

primary
#CD7CDC
secondary
#D0E9CB
accent
#C5203A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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