#CD7DDB#CD7DDB

#CD7DDB is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.8% C 0.157 H 321.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CD7DDB
RGBrgb(205, 125, 219)
HSLhsl(291, 57%, 67%)
HSVhsv(291, 43%, 86%)
CMYKcmyk(6.4%, 42.9%, 0%, 14.1%)
CIE-LABlab(63.97, 45.86, -35.51)
CIE-LCHlch(63.97, 58.00, 322.25°)
OKLaboklab(70.81% 0.1227 -0.0977)
OKLCHoklch(70.81% 0.157 321.5)
XYZxyz(45.2952, 32.7625, 70.9419)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DDB #8BDB7D
analogous
#9E7DDB #CD7DDB #DB7DBA
triadic
#CD7DDB #DBCD7D #7DDBCD
tetradic
#CD7DDB #DB9E7D #8BDB7D #7DBADB
square
#CD7DDB #DB9E7D #8BDB7D #7DBADB
split-complementary
#CD7DDB #BADB7D #7DDB9E
monochromatic
#9B30AE #BB4DCE #CD7DDB #DFADE8 #F2DDF6

Accessibility & contrast

On white

2.78
#CD7DDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CD7DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DDB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DDB#FFFFFF#000000##000000
##CD7DDB1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#CF88A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ddb;
/* rgb */ color: rgb(205, 125, 219);
/* oklch */ color: oklch(70.8% 0.157 321.5);
Tailwind
colors: {
  custom: {
    50: '#dea4e6',
    500: '#cd7ddb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ddb;
$custom-light: #dea4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ddb",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 291.064,
    "s": 56.627,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.15678,
    "h": 321.5
  },
  "luminance": 0.32761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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