#CD57F5#CD57F5

#CD57F5 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.239 H 316.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CD57F5
RGBrgb(205, 87, 245)
HSLhsl(285, 89%, 65%)
HSVhsv(285, 64%, 96%)
CMYKcmyk(16.3%, 64.5%, 0%, 3.9%)
CIE-LABlab(58.41, 69.17, -58.78)
CIE-LCHlch(58.41, 90.77, 319.64°)
OKLaboklab(67.14% 0.1734 -0.1649)
OKLCHoklch(67.14% 0.239 316.4)
XYZxyz(45.0640, 26.3898, 89.0885)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57F5 #7FF557
analogous
#7E57F5 #CD57F5 #F557CE
triadic
#CD57F5 #F5CD57 #57F5CD
tetradic
#CD57F5 #F57E57 #7FF557 #57CEF5
square
#CD57F5 #F57E57 #7FF557 #57CEF5
split-complementary
#CD57F5 #CEF557 #57F57E
monochromatic
#970CC6 #BC1DF2 #CD57F5 #DE91F8 #EFCBFC

Accessibility & contrast

On white

3.35
#CD57F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CD57F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57F5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57F5#FFFFFF#000000##000000
##CD57F51.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1285FA
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#CB749F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd57f5;
/* rgb */ color: rgb(205, 87, 245);
/* oklch */ color: oklch(67.1% 0.239 316.4);
Tailwind
colors: {
  custom: {
    50: '#e08ef9',
    500: '#cd57f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd57f5;
$custom-light: #e08ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57f5",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 284.81,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67143,
    "c": 0.23928,
    "h": 316.4
  },
  "luminance": 0.26388
}

Semantic roles & 50–950 ramp

primary
#CD57F5
secondary
#C7EFB9
accent
#E5003A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD57F5

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

Preview Lab → · Contrast checker → · Palette generator →

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