#CD7DF1#CD7DF1

#CD7DF1 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.180 H 314.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CD7DF1
RGBrgb(205, 125, 241)
HSLhsl(281, 81%, 72%)
HSVhsv(281, 48%, 95%)
CMYKcmyk(14.9%, 48.1%, 0%, 5.5%)
CIE-LABlab(64.96, 50.26, -46.15)
CIE-LCHlch(64.96, 68.24, 317.44°)
OKLaboklab(71.88% 0.1261 -0.1283)
OKLCHoklch(71.88% 0.18 314.5)
XYZxyz(48.3851, 33.9985, 87.2156)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DF1 #A1F17D
analogous
#937DF1 #CD7DF1 #F17DDB
triadic
#CD7DF1 #F1CD7D #7DF1CD
tetradic
#CD7DF1 #F1937D #A1F17D #7DDBF1
square
#CD7DF1 #F1937D #A1F17D #7DDBF1
split-complementary
#CD7DF1 #DBF17D #7DF193
monochromatic
#9F18DC #B846EB #CD7DF1 #E2B4F7 #F4E3FC

Accessibility & contrast

On white

2.69
#CD7DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CD7DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DF1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DF1#FFFFFF#000000##000000
##CD7DF11.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F5
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#CA8FAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7df1;
/* rgb */ color: rgb(205, 125, 241);
/* oklch */ color: oklch(71.9% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#dea5f6',
    500: '#cd7df1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7df1;
$custom-light: #dea5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7df1",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 281.379,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.17991,
    "h": 314.5
  },
  "luminance": 0.33997
}

Semantic roles & 50–950 ramp

primary
#CD7DF1
secondary
#DFF4D6
accent
#DD094A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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