#CF57FB#CF57FB

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

Color values

HEX#CF57FB
RGBrgb(207, 87, 251)
HSLhsl(284, 95%, 66%)
HSVhsv(284, 65%, 98%)
CMYKcmyk(17.5%, 65.3%, 0%, 1.6%)
CIE-LABlab(59.02, 70.76, -61.11)
CIE-LCHlch(59.02, 93.50, 319.19°)
OKLaboklab(67.75% 0.1755 -0.1717)
OKLCHoklch(67.75% 0.246 315.6)
XYZxyz(46.5502, 27.0485, 94.0169)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57FB #83FB57
analogous
#7D57FB #CF57FB #FB57D5
triadic
#CF57FB #FBCF57 #57FBCF
tetradic
#CF57FB #FB7D57 #83FB57 #57D5FB
square
#CF57FB #FB7D57 #83FB57 #57D5FB
split-complementary
#CF57FB #D5FB57 #57FB7D
monochromatic
#9B05D3 #BE1BFA #CF57FB #E093FC #F1CFFE

Accessibility & contrast

On white

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

On black

6.41
#CF57FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57FB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57FB#FFFFFF#000000##000000
##CF57FB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#CC76A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf57fb;
/* rgb */ color: rgb(207, 87, 251);
/* oklch */ color: oklch(67.8% 0.245 315.6);
Tailwind
colors: {
  custom: {
    50: '#e28efd',
    500: '#cf57fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf57fb;
$custom-light: #e28efd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57fb",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 283.902,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67752,
    "c": 0.2455,
    "h": 315.6
  },
  "luminance": 0.27047
}

Semantic roles & 50–950 ramp

primary
#CF57FB
secondary
#CAF2BC
accent
#E6003E
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF57FB

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

Preview Lab → · Contrast checker → · Palette generator →

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