#CF57D3#CF57D3

#CF57D3 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.5% C 0.210 H 326.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CF57D3
RGBrgb(207, 87, 211)
HSLhsl(298, 58%, 58%)
HSVhsv(298, 59%, 83%)
CMYKcmyk(1.9%, 58.8%, 0%, 17.3%)
CIE-LABlab(56.87, 63.39, -42.11)
CIE-LCHlch(56.87, 76.11, 326.40°)
OKLaboklab(65.5% 0.1749 -0.1163)
OKLCHoklch(65.5% 0.21 326.4)
XYZxyz(40.8974, 24.7874, 64.2457)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57D3 #5BD357
analogous
#9157D3 #CF57D3 #D35799
triadic
#CF57D3 #D3CF57 #57D3CF
tetradic
#CF57D3 #D39157 #5BD357 #5799D3
square
#CF57D3 #D39157 #5BD357 #5799D3
split-complementary
#CF57D3 #99D357 #57D391
monochromatic
#88248B #B731BC #CF57D3 #DD87E0 #EBB8EC

Accessibility & contrast

On white

3.53
#CF57D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CF57D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57D3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57D3#FFFFFF#000000##000000
##CF57D31.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467FD7
Deuteranopia (green-blind)
#708ED0
Tritanopia (blue-blind)
#D4678D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf57d3;
/* rgb */ color: rgb(207, 87, 211);
/* oklch */ color: oklch(65.5% 0.210 326.4);
Tailwind
colors: {
  custom: {
    50: '#e18de1',
    500: '#cf57d3',
    950: '#000000',
  },
}
SCSS
$custom: #cf57d3;
$custom-light: #e18de1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57d3",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 211
  },
  "hsl": {
    "h": 298.065,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.655,
    "c": 0.21006,
    "h": 326.4
  },
  "luminance": 0.24785
}

Semantic roles & 50–950 ramp

primary
#CF57D3
secondary
#ACDCAA
accent
#E2464B
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF57D3

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

Preview Lab → · Contrast checker → · Palette generator →

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