#CD7FE9#CD7FE9

#CD7FE9 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.168 H 316.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE9
RGBrgb(205, 127, 233)
HSLhsl(284, 71%, 71%)
HSVhsv(284, 45%, 91%)
CMYKcmyk(12%, 45.5%, 0%, 8.6%)
CIE-LABlab(65.00, 47.58, -41.68)
CIE-LCHlch(65.00, 63.26, 318.79°)
OKLaboklab(71.78% 0.1222 -0.1154)
OKLCHoklch(71.78% 0.168 316.6)
XYZxyz(47.4720, 34.0425, 81.1452)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE9 #9BE97F
analogous
#987FE9 #CD7FE9 #E97FD0
triadic
#CD7FE9 #E9CD7F #7FE9CD
tetradic
#CD7FE9 #E9987F #9BE97F #7FD0E9
square
#CD7FE9 #E9987F #9BE97F #7FD0E9
split-complementary
#CD7FE9 #D0E97F #7FE998
monochromatic
#9E23CB #B94BE0 #CD7FE9 #E1B3F2 #F5E5FB

Accessibility & contrast

On white

2.69
#CD7FE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CD7FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE9#FFFFFF#000000##000000
##CD7FE91.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99ED
Deuteranopia (green-blind)
#81A0E6
Tritanopia (blue-blind)
#CC8EA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7fe9;
/* rgb */ color: rgb(205, 127, 233);
/* oklch */ color: oklch(71.8% 0.168 316.6);
Tailwind
colors: {
  custom: {
    50: '#dea6f0',
    500: '#cd7fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe9;
$custom-light: #dea6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe9",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 233
  },
  "hsl": {
    "h": 284.151,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71779,
    "c": 0.1681,
    "h": 316.6
  },
  "luminance": 0.34041
}

Semantic roles & 50–950 ramp

primary
#CD7FE9
secondary
#DBF0D4
accent
#D31345
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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