#CD7AEF#CD7AEF

#CD7AEF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.183 H 315.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CD7AEF
RGBrgb(205, 122, 239)
HSLhsl(283, 79%, 71%)
HSVhsv(283, 49%, 94%)
CMYKcmyk(14.2%, 49%, 0%, 6.3%)
CIE-LABlab(64.27, 51.40, -46.14)
CIE-LCHlch(64.27, 69.07, 318.09°)
OKLaboklab(71.33% 0.1299 -0.1283)
OKLCHoklch(71.33% 0.183 315.4)
XYZxyz(47.7139, 33.1316, 85.5262)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AEF #9CEF7A
analogous
#927AEF #CD7AEF #EF7AD6
triadic
#CD7AEF #EFCD7A #7AEFCD
tetradic
#CD7AEF #EF927A #9CEF7A #7AD6EF
square
#CD7AEF #EF927A #9CEF7A #7AD6EF
split-complementary
#CD7AEF #D6EF7A #7AEF92
monochromatic
#9F1AD5 #B843E8 #CD7AEF #E2B1F6 #F5E4FC

Accessibility & contrast

On white

2.75
#CD7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CD7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AEF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AEF#FFFFFF#000000##000000
##CD7AEF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#CB8CAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7aef;
/* rgb */ color: rgb(205, 122, 239);
/* oklch */ color: oklch(71.3% 0.183 315.4);
Tailwind
colors: {
  custom: {
    50: '#dea3f5',
    500: '#cd7aef',
    950: '#000000',
  },
}
SCSS
$custom: #cd7aef;
$custom-light: #dea3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7aef",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 282.564,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71329,
    "c": 0.18256,
    "h": 315.4
  },
  "luminance": 0.3313
}

Semantic roles & 50–950 ramp

primary
#CD7AEF
secondary
#DCF2D3
accent
#DB0B47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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