#CD7FEE#CD7FEE

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

Color values

HEX#CD7FEE
RGBrgb(205, 127, 238)
HSLhsl(282, 77%, 72%)
HSVhsv(282, 47%, 93%)
CMYKcmyk(13.9%, 46.6%, 0%, 6.7%)
CIE-LABlab(65.23, 48.60, -44.08)
CIE-LCHlch(65.23, 65.62, 317.79°)
OKLaboklab(72.02% 0.123 -0.1224)
OKLCHoklch(72.02% 0.173 315.1)
XYZxyz(48.1964, 34.3322, 84.9602)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FEE #A0EE7F
analogous
#967FEE #CD7FEE #EE7FD8
triadic
#CD7FEE #EECD7F #7FEECD
tetradic
#CD7FEE #EE967F #A0EE7F #7FD8EE
square
#CD7FEE #EE967F #A0EE7F #7FD8EE
split-complementary
#CD7FEE #D8EE7F #7FEE96
monochromatic
#9F1CD6 #B849E7 #CD7FEE #E2B5F5 #F4E4FB

Accessibility & contrast

On white

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

On black

7.87
#CD7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FEE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FEE#FFFFFF#000000##000000
##CD7FEE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#CB8FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7fee;
/* rgb */ color: rgb(205, 127, 238);
/* oklch */ color: oklch(72.0% 0.173 315.1);
Tailwind
colors: {
  custom: {
    50: '#dea6f4',
    500: '#cd7fee',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fee;
$custom-light: #dea6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fee",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 282.162,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72025,
    "c": 0.17346,
    "h": 315.1
  },
  "luminance": 0.34331
}

Semantic roles & 50–950 ramp

primary
#CD7FEE
secondary
#DFF3D6
accent
#D90D49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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