#CD7FE0#CD7FE0

#CD7FE0 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.159 H 319.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE0
RGBrgb(205, 127, 224)
HSLhsl(288, 61%, 69%)
HSVhsv(288, 43%, 88%)
CMYKcmyk(8.5%, 43.3%, 0%, 12.2%)
CIE-LABlab(64.60, 45.79, -37.31)
CIE-LCHlch(64.60, 59.06, 320.82°)
OKLaboklab(71.35% 0.1207 -0.1028)
OKLCHoklch(71.35% 0.159 319.6)
XYZxyz(46.2190, 33.5413, 74.5460)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE0 #92E07F
analogous
#9D7FE0 #CD7FE0 #E07FC3
triadic
#CD7FE0 #E0CD7F #7FE0CD
tetradic
#CD7FE0 #E09D7F #92E07F #7FC3E0
square
#CD7FE0 #E09D7F #92E07F #7FC3E0
split-complementary
#CD7FE0 #C3E07F #7FE09D
monochromatic
#9D2DB8 #BA4ED4 #CD7FE0 #E0B0EC #F3E2F8

Accessibility & contrast

On white

2.72
#CD7FE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CD7FE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE0#FFFFFF#000000##000000
##CD7FE01.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E3
Deuteranopia (green-blind)
#869FDD
Tritanopia (blue-blind)
#CE8BA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe0;
/* rgb */ color: rgb(205, 127, 224);
/* oklch */ color: oklch(71.4% 0.159 319.6);
Tailwind
colors: {
  custom: {
    50: '#dea6ea',
    500: '#cd7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe0;
$custom-light: #dea6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe0",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 288.247,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.15858,
    "h": 319.6
  },
  "luminance": 0.3354
}

Semantic roles & 50–950 ramp

primary
#CD7FE0
secondary
#D5ECCF
accent
#C91D3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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