#CD7AF0#CD7AF0

#CD7AF0 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.4% C 0.184 H 315.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CD7AF0
RGBrgb(205, 122, 240)
HSLhsl(282, 80%, 71%)
HSVhsv(282, 49%, 94%)
CMYKcmyk(14.6%, 49.2%, 0%, 5.9%)
CIE-LABlab(64.32, 51.60, -46.62)
CIE-LCHlch(64.32, 69.54, 317.91°)
OKLaboklab(71.38% 0.13 -0.1297)
OKLCHoklch(71.38% 0.184 315.1)
XYZxyz(47.8621, 33.1908, 86.3064)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AF0 #9DF07A
analogous
#927AF0 #CD7AF0 #F07AD8
triadic
#CD7AF0 #F0CD7A #7AF0CD
tetradic
#CD7AF0 #F0927A #9DF07A #7AD8F0
square
#CD7AF0 #F0927A #9DF07A #7AD8F0
split-complementary
#CD7AF0 #D8F07A #7AF092
monochromatic
#9F18D7 #B843EA #CD7AF0 #E2B1F6 #F5E4FC

Accessibility & contrast

On white

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

On black

7.64
#CD7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AF0
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AF0#FFFFFF#000000##000000
##CD7AF01.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F4
Deuteranopia (green-blind)
#7A9EED
Tritanopia (blue-blind)
#CB8CAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7af0;
/* rgb */ color: rgb(205, 122, 240);
/* oklch */ color: oklch(71.4% 0.184 315.1);
Tailwind
colors: {
  custom: {
    50: '#dea3f5',
    500: '#cd7af0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7af0;
$custom-light: #dea3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7af0",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 282.203,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7138,
    "c": 0.18363,
    "h": 315.1
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#CD7AF0
secondary
#DDF3D3
accent
#DC0948
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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