#CD7AF3#CD7AF3

#CD7AF3 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.187 H 314.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CD7AF3
RGBrgb(205, 122, 243)
HSLhsl(281, 83%, 72%)
HSVhsv(281, 50%, 95%)
CMYKcmyk(15.6%, 49.8%, 0%, 4.7%)
CIE-LABlab(64.46, 52.22, -48.05)
CIE-LCHlch(64.46, 70.96, 317.38°)
OKLaboklab(71.53% 0.1304 -0.1338)
OKLCHoklch(71.53% 0.187 314.2)
XYZxyz(48.3114, 33.3705, 88.6729)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AF3 #A0F37A
analogous
#917AF3 #CD7AF3 #F37ADD
triadic
#CD7AF3 #F3CD7A #7AF3CD
tetradic
#CD7AF3 #F3917A #A0F37A #7ADDF3
square
#CD7AF3 #F3917A #A0F37A #7ADDF3
split-complementary
#CD7AF3 #DDF37A #7AF391
monochromatic
#9F14DF #B842EE #CD7AF3 #E2B2F8 #F4E3FC

Accessibility & contrast

On white

2.74
#CD7AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CD7AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AF3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AF3#FFFFFF#000000##000000
##CD7AF31.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#CA8DAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7af3;
/* rgb */ color: rgb(205, 122, 243);
/* oklch */ color: oklch(71.5% 0.187 314.2);
Tailwind
colors: {
  custom: {
    50: '#dea3f7',
    500: '#cd7af3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7af3;
$custom-light: #dea3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7af3",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 281.157,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.18681,
    "h": 314.2
  },
  "luminance": 0.33369
}

Semantic roles & 50–950 ramp

primary
#CD7AF3
secondary
#DFF4D5
accent
#E0064A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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