#CD7AF4#CD7AF4

#CD7AF4 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.6% C 0.188 H 314.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CD7AF4
RGBrgb(205, 122, 244)
HSLhsl(281, 85%, 72%)
HSVhsv(281, 50%, 96%)
CMYKcmyk(16%, 50%, 0%, 4.3%)
CIE-LABlab(64.51, 52.43, -48.52)
CIE-LCHlch(64.51, 71.44, 317.22°)
OKLaboklab(71.59% 0.1305 -0.1352)
OKLCHoklch(71.59% 0.188 314)
XYZxyz(48.4628, 33.4311, 89.4703)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AF4 #A1F47A
analogous
#907AF4 #CD7AF4 #F47ADE
triadic
#CD7AF4 #F4CD7A #7AF4CD
tetradic
#CD7AF4 #F4907A #A1F47A #7ADEF4
square
#CD7AF4 #F4907A #A1F47A #7ADEF4
split-complementary
#CD7AF4 #DEF47A #7AF490
monochromatic
#9F13E1 #B841EF #CD7AF4 #E2B3F9 #F4E3FD

Accessibility & contrast

On white

2.73
#CD7AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CD7AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AF4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AF4#FFFFFF#000000##000000
##CD7AF41.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F8
Deuteranopia (green-blind)
#779FF1
Tritanopia (blue-blind)
#CA8DAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7af4;
/* rgb */ color: rgb(205, 122, 244);
/* oklch */ color: oklch(71.6% 0.188 314.0);
Tailwind
colors: {
  custom: {
    50: '#dea3f8',
    500: '#cd7af4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7af4;
$custom-light: #dea3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7af4",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 280.82,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71586,
    "c": 0.18787,
    "h": 314
  },
  "luminance": 0.3343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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