#CD7FE6#CD7FE6

#CD7FE6 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.165 H 317.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CD7FE6
RGBrgb(205, 127, 230)
HSLhsl(285, 67%, 70%)
HSVhsv(285, 45%, 90%)
CMYKcmyk(10.9%, 44.8%, 0%, 9.8%)
CIE-LABlab(64.86, 46.98, -40.23)
CIE-LCHlch(64.86, 61.85, 319.43°)
OKLaboklab(71.64% 0.1217 -0.1112)
OKLCHoklch(71.64% 0.165 317.6)
XYZxyz(47.0471, 33.8725, 78.9073)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FE6 #98E67F
analogous
#9A7FE6 #CD7FE6 #E67FCB
triadic
#CD7FE6 #E6CD7F #7FE6CD
tetradic
#CD7FE6 #E69A7F #98E67F #7FCBE6
square
#CD7FE6 #E69A7F #98E67F #7FCBE6
split-complementary
#CD7FE6 #CBE67F #7FE69A
monochromatic
#9E26C4 #B94CDC #CD7FE6 #E1B2F0 #F5E5FA

Accessibility & contrast

On white

2.70
#CD7FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CD7FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FE6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FE6#FFFFFF#000000##000000
##CD7FE61.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98EA
Deuteranopia (green-blind)
#83A0E3
Tritanopia (blue-blind)
#CD8DA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fe6;
/* rgb */ color: rgb(205, 127, 230);
/* oklch */ color: oklch(71.6% 0.165 317.6);
Tailwind
colors: {
  custom: {
    50: '#dea6ee',
    500: '#cd7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fe6;
$custom-light: #dea6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fe6",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 285.437,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.16491,
    "h": 317.6
  },
  "luminance": 0.33871
}

Semantic roles & 50–950 ramp

primary
#CD7FE6
secondary
#D9EFD2
accent
#CF1643
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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