#CD7CDB#CD7CDB

#CD7CDB is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.158 H 321.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CD7CDB
RGBrgb(205, 124, 219)
HSLhsl(291, 57%, 67%)
HSVhsv(291, 43%, 86%)
CMYKcmyk(6.4%, 43.4%, 0%, 14.1%)
CIE-LABlab(63.76, 46.38, -35.83)
CIE-LCHlch(63.76, 58.61, 322.31°)
OKLaboklab(70.66% 0.1241 -0.0986)
OKLCHoklch(70.66% 0.158 321.5)
XYZxyz(45.1692, 32.5106, 70.9000)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CDB #8ADB7C
analogous
#9E7CDB #CD7CDB #DB7CB9
triadic
#CD7CDB #DBCD7C #7CDBCD
tetradic
#CD7CDB #DB9E7C #8ADB7C #7CB9DB
square
#CD7CDB #DB9E7C #8ADB7C #7CB9DB
split-complementary
#CD7CDB #B9DB7C #7CDB9E
monochromatic
#9B30AD #BB4CCE #CD7CDB #DFACE8 #F2DCF5

Accessibility & contrast

On white

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

On black

7.50
#CD7CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CDB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CDB#FFFFFF#000000##000000
##CD7CDB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DE
Deuteranopia (green-blind)
#859ED8
Tritanopia (blue-blind)
#CF88A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cdb;
/* rgb */ color: rgb(205, 124, 219);
/* oklch */ color: oklch(70.7% 0.158 321.5);
Tailwind
colors: {
  custom: {
    50: '#dea4e6',
    500: '#cd7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cdb;
$custom-light: #dea4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cdb",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 291.158,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70656,
    "c": 0.15847,
    "h": 321.5
  },
  "luminance": 0.32509
}

Semantic roles & 50–950 ramp

primary
#CD7CDB
secondary
#CFE8CA
accent
#C42139
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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