#CD57F6#CD57F6

#CD57F6 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.240 H 316.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CD57F6
RGBrgb(205, 87, 246)
HSLhsl(285, 90%, 65%)
HSVhsv(285, 65%, 96%)
CMYKcmyk(16.7%, 64.6%, 0%, 3.5%)
CIE-LABlab(58.46, 69.36, -59.24)
CIE-LCHlch(58.46, 91.22, 319.50°)
OKLaboklab(67.2% 0.1734 -0.1663)
OKLCHoklch(67.2% 0.24 316.2)
XYZxyz(45.2170, 26.4510, 89.8946)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57F6 #80F657
analogous
#7D57F6 #CD57F6 #F657D0
triadic
#CD57F6 #F6CD57 #57F6CD
tetradic
#CD57F6 #F67D57 #80F657 #57D0F6
square
#CD57F6 #F67D57 #80F657 #57D0F6
split-complementary
#CD57F6 #D0F657 #57F67D
monochromatic
#970BC8 #BC1DF3 #CD57F6 #DE91F9 #F0CBFC

Accessibility & contrast

On white

3.34
#CD57F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CD57F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57F6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57F6#FFFFFF#000000##000000
##CD57F61.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E85FB
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#CB759F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd57f6;
/* rgb */ color: rgb(205, 87, 246);
/* oklch */ color: oklch(67.2% 0.240 316.2);
Tailwind
colors: {
  custom: {
    50: '#e08efa',
    500: '#cd57f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd57f6;
$custom-light: #e08efa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57f6",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 284.528,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67203,
    "c": 0.24019,
    "h": 316.2
  },
  "luminance": 0.26449
}

Semantic roles & 50–950 ramp

primary
#CD57F6
secondary
#C7EFBA
accent
#E6003B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD57F6

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

Preview Lab → · Contrast checker → · Palette generator →

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