#CD57FF#CD57FF

#CD57FF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.8% C 0.248 H 314.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CD57FF
RGBrgb(205, 87, 255)
HSLhsl(282, 100%, 67%)
HSVhsv(282, 66%, 100%)
CMYKcmyk(19.6%, 65.9%, 0%, 0%)
CIE-LABlab(58.99, 71.12, -63.38)
CIE-LCHlch(58.99, 95.26, 318.29°)
OKLaboklab(67.75% 0.1729 -0.1784)
OKLCHoklch(67.75% 0.248 314.1)
XYZxyz(46.6320, 27.0170, 97.3467)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57FF #89FF57
analogous
#7957FF #CD57FF #FF57DD
triadic
#CD57FF #FFCD57 #57FFCD
tetradic
#CD57FF #FF7957 #89FF57 #57DDFF
square
#CD57FF #FF7957 #89FF57 #57DDFF
split-complementary
#CD57FF #DDFF57 #57FF79
monochromatic
#9A00DC #BB1AFF #CD57FF #DF94FF #F1D1FF

Accessibility & contrast

On white

3.28
#CD57FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CD57FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57FF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57FF#FFFFFF#000000##000000
##CD57FF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#C878A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd57ff;
/* rgb */ color: rgb(205, 87, 255);
/* oklch */ color: oklch(67.8% 0.248 314.1);
Tailwind
colors: {
  custom: {
    50: '#e08eff',
    500: '#cd57ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd57ff;
$custom-light: #e08eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57ff",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 282.143,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.24844,
    "h": 314.1
  },
  "luminance": 0.27016
}

Semantic roles & 50–950 ramp

primary
#CD57FF
secondary
#CEF4BE
accent
#E60044
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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