#CD7CF5#CD7CF5

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

Color values

HEX#CD7CF5
RGBrgb(205, 124, 245)
HSLhsl(280, 86%, 72%)
HSVhsv(280, 49%, 96%)
CMYKcmyk(16.3%, 49.4%, 0%, 3.9%)
CIE-LABlab(64.95, 51.61, -48.37)
CIE-LCHlch(64.95, 70.73, 316.86°)
OKLaboklab(71.93% 0.1279 -0.1348)
OKLCHoklch(71.93% 0.186 313.5)
XYZxyz(48.8632, 33.9882, 90.3549)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF5 #A4F57C
analogous
#907CF5 #CD7CF5 #F57CE1
triadic
#CD7CF5 #F5CD7C #7CF5CD
tetradic
#CD7CF5 #F5907C #A4F57C #7CE1F5
square
#CD7CF5 #F5907C #A4F57C #7CE1F5
split-complementary
#CD7CF5 #E1F57C #7CF590
monochromatic
#9F11E5 #B743F1 #CD7CF5 #E3B5F9 #F4E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7CF5#FFFFFF#000000##000000
##CD7CF51.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)
#6099F9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#CA8FAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7cf5;
/* rgb */ color: rgb(205, 124, 245);
/* oklch */ color: oklch(71.9% 0.186 313.5);
Tailwind
colors: {
  custom: {
    50: '#dea4f9',
    500: '#cd7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf5;
$custom-light: #dea4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf5",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 280.165,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71931,
    "c": 0.18579,
    "h": 313.5
  },
  "luminance": 0.33987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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