#CD57FB#CD57FB

#CD57FB is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.5% C 0.245 H 315.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD57FB
RGBrgb(205, 87, 251)
HSLhsl(283, 95%, 66%)
HSVhsv(283, 65%, 98%)
CMYKcmyk(18.3%, 65.3%, 0%, 1.6%)
CIE-LABlab(58.75, 70.34, -61.55)
CIE-LCHlch(58.75, 93.46, 318.81°)
OKLaboklab(67.51% 0.1731 -0.173)
OKLCHoklch(67.51% 0.245 315)
XYZxyz(45.9948, 26.7621, 93.9908)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57FB #85FB57
analogous
#7B57FB #CD57FB #FB57D7
triadic
#CD57FB #FBCD57 #57FBCD
tetradic
#CD57FB #FB7B57 #85FB57 #57D7FB
square
#CD57FB #FB7B57 #85FB57 #57D7FB
split-complementary
#CD57FB #D7FB57 #57FB7B
monochromatic
#9905D3 #BB1BFA #CD57FB #DF93FC #F1CFFE

Accessibility & contrast

On white

3.31
#CD57FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CD57FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57FB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57FB#FFFFFF#000000##000000
##CD57FB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#C977A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd57fb;
/* rgb */ color: rgb(205, 87, 251);
/* oklch */ color: oklch(67.5% 0.245 315.0);
Tailwind
colors: {
  custom: {
    50: '#e08efd',
    500: '#cd57fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd57fb;
$custom-light: #e08efd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57fb",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 283.171,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67506,
    "c": 0.24477,
    "h": 315
  },
  "luminance": 0.26761
}

Semantic roles & 50–950 ramp

primary
#CD57FB
secondary
#CBF2BC
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD57FB

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

Preview Lab → · Contrast checker → · Palette generator →

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