#CD7DF6#CD7DF6

#CD7DF6 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.185 H 313.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CD7DF6
RGBrgb(205, 125, 246)
HSLhsl(280, 87%, 73%)
HSVhsv(280, 49%, 96%)
CMYKcmyk(16.7%, 49.2%, 0%, 3.5%)
CIE-LABlab(65.20, 51.30, -48.53)
CIE-LCHlch(65.20, 70.62, 316.59°)
OKLaboklab(72.13% 0.1267 -0.1352)
OKLCHoklch(72.13% 0.185 313.1)
XYZxyz(49.1422, 34.3014, 91.2030)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DF6 #A6F67D
analogous
#907DF6 #CD7DF6 #F67DE3
triadic
#CD7DF6 #F6CD7D #7DF6CD
tetradic
#CD7DF6 #F6907D #A6F67D #7DE3F6
square
#CD7DF6 #F6907D #A6F67D #7DE3F6
split-complementary
#CD7DF6 #E3F67D #7DF690
monochromatic
#9F10E9 #B744F2 #CD7DF6 #E3B6FA #F4E2FD

Accessibility & contrast

On white

2.67
#CD7DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CD7DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DF6
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DF6#FFFFFF#000000##000000
##CD7DF61.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#C990AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7df6;
/* rgb */ color: rgb(205, 125, 246);
/* oklch */ color: oklch(72.1% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#dea5f9',
    500: '#cd7df6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7df6;
$custom-light: #dea5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7df6",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 279.669,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.18529,
    "h": 313.1
  },
  "luminance": 0.343
}

Semantic roles & 50–950 ramp

primary
#CD7DF6
secondary
#E0F5D6
accent
#E4024E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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