#CF54F1#CF54F1

#CF54F1 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.240 H 318.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CF54F1
RGBrgb(207, 84, 241)
HSLhsl(287, 85%, 64%)
HSVhsv(287, 65%, 95%)
CMYKcmyk(14.1%, 65.1%, 0%, 5.5%)
CIE-LABlab(58.00, 70.10, -57.19)
CIE-LCHlch(58.00, 90.47, 320.79°)
OKLaboklab(66.83% 0.1791 -0.1602)
OKLCHoklch(66.83% 0.24 318.2)
XYZxyz(44.7774, 25.9588, 85.8539)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54F1 #76F154
analogous
#8054F1 #CF54F1 #F154C5
triadic
#CF54F1 #F1CF54 #54F1CF
tetradic
#CF54F1 #F18054 #76F154 #54C5F1
square
#CF54F1 #F18054 #76F154 #54C5F1
split-complementary
#CF54F1 #C5F154 #54F180
monochromatic
#960FBB #BF1BEC #CF54F1 #DF8DF6 #EFC5FA

Accessibility & contrast

On white

3.39
#CF54F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CF54F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54F1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54F1#FFFFFF#000000##000000
##CF54F11.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1683F6
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#CE709C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf54f1;
/* rgb */ color: rgb(207, 84, 241);
/* oklch */ color: oklch(66.8% 0.240 318.2);
Tailwind
colors: {
  custom: {
    50: '#e18cf6',
    500: '#cf54f1',
    950: '#000000',
  },
}
SCSS
$custom: #cf54f1;
$custom-light: #e18cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54f1",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 287.006,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66832,
    "c": 0.24027,
    "h": 318.2
  },
  "luminance": 0.25957
}

Semantic roles & 50–950 ramp

primary
#CF54F1
secondary
#C1ECB5
accent
#E10434
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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