#CD7FE3#CD7FE3

#CD7FE3 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.162 H 318.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE3
RGBrgb(205, 127, 227)
HSLhsl(287, 64%, 69%)
HSVhsv(287, 44%, 89%)
CMYKcmyk(9.7%, 44.1%, 0%, 11%)
CIE-LABlab(64.73, 46.38, -38.77)
CIE-LCHlch(64.73, 60.45, 320.10°)
OKLaboklab(71.49% 0.1212 -0.107)
OKLCHoklch(71.49% 0.162 318.6)
XYZxyz(46.6295, 33.7054, 76.7077)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE3 #95E37F
analogous
#9B7FE3 #CD7FE3 #E37FC7
triadic
#CD7FE3 #E3CD7F #7FE3CD
tetradic
#CD7FE3 #E39B7F #95E37F #7FC7E3
square
#CD7FE3 #E39B7F #95E37F #7FC7E3
split-complementary
#CD7FE3 #C7E37F #7FE39B
monochromatic
#9D2ABE #B94DD8 #CD7FE3 #E1B1EE #F4E3F9

Accessibility & contrast

On white

2.71
#CD7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CD7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE3#FFFFFF#000000##000000
##CD7FE31.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E7
Deuteranopia (green-blind)
#84A0E0
Tritanopia (blue-blind)
#CD8CA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe3;
/* rgb */ color: rgb(205, 127, 227);
/* oklch */ color: oklch(71.5% 0.162 318.6);
Tailwind
colors: {
  custom: {
    50: '#dea6ec',
    500: '#cd7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe3;
$custom-light: #dea6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe3",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 286.8,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71492,
    "c": 0.16174,
    "h": 318.6
  },
  "luminance": 0.33704
}

Semantic roles & 50–950 ramp

primary
#CD7FE3
secondary
#D7EDD0
accent
#CC1A41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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