#CD7FED#CD7FED

#CD7FED is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.172 H 315.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD7FED
RGBrgb(205, 127, 237)
HSLhsl(283, 75%, 71%)
HSVhsv(283, 46%, 93%)
CMYKcmyk(13.5%, 46.4%, 0%, 7.1%)
CIE-LABlab(65.18, 48.40, -43.60)
CIE-LCHlch(65.18, 65.14, 317.98°)
OKLaboklab(71.98% 0.1228 -0.121)
OKLCHoklch(71.98% 0.172 315.4)
XYZxyz(48.0499, 34.2736, 84.1887)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FED #9FED7F
analogous
#967FED #CD7FED #ED7FD6
triadic
#CD7FED #EDCD7F #7FEDCD
tetradic
#CD7FED #ED967F #9FED7F #7FD6ED
square
#CD7FED #ED967F #9FED7F #7FD6ED
split-complementary
#CD7FED #D6ED7F #7FED96
monochromatic
#9F1ED4 #B849E5 #CD7FED #E2B5F5 #F5E4FB

Accessibility & contrast

On white

2.67
#CD7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CD7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FED
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FED#FFFFFF#000000##000000
##CD7FED1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#CB8FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7fed;
/* rgb */ color: rgb(205, 127, 237);
/* oklch */ color: oklch(72.0% 0.172 315.4);
Tailwind
colors: {
  custom: {
    50: '#dea6f3',
    500: '#cd7fed',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fed;
$custom-light: #dea6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fed",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 282.545,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71976,
    "c": 0.17238,
    "h": 315.4
  },
  "luminance": 0.34272
}

Semantic roles & 50–950 ramp

primary
#CD7FED
secondary
#DEF2D6
accent
#D80E49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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