#CD7DF0#CD7DF0

#CD7DF0 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.8% C 0.179 H 314.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CD7DF0
RGBrgb(205, 125, 240)
HSLhsl(282, 79%, 72%)
HSVhsv(282, 48%, 94%)
CMYKcmyk(14.6%, 47.9%, 0%, 5.9%)
CIE-LABlab(64.91, 50.06, -45.68)
CIE-LCHlch(64.91, 67.76, 317.62°)
OKLaboklab(71.82% 0.126 -0.127)
OKLCHoklch(71.82% 0.179 314.8)
XYZxyz(48.2361, 33.9389, 86.4311)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DF0 #A0F07D
analogous
#947DF0 #CD7DF0 #F07DDA
triadic
#CD7DF0 #F0CD7D #7DF0CD
tetradic
#CD7DF0 #F0947D #A0F07D #7DDAF0
square
#CD7DF0 #F0947D #A0F07D #7DDAF0
split-complementary
#CD7DF0 #DAF07D #7DF094
monochromatic
#9F19DA #B846EA #CD7DF0 #E2B4F6 #F4E4FC

Accessibility & contrast

On white

2.70
#CD7DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CD7DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DF0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DF0#FFFFFF#000000##000000
##CD7DF01.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#CB8EAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7df0;
/* rgb */ color: rgb(205, 125, 240);
/* oklch */ color: oklch(71.8% 0.179 314.8);
Tailwind
colors: {
  custom: {
    50: '#dea5f5',
    500: '#cd7df0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7df0;
$custom-light: #dea5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7df0",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 281.739,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71824,
    "c": 0.17884,
    "h": 314.8
  },
  "luminance": 0.33938
}

Semantic roles & 50–950 ramp

primary
#CD7DF0
secondary
#DFF3D6
accent
#DC0A4A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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