#CF54E5#CF54E5

#CF54E5 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.230 H 321.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CF54E5
RGBrgb(207, 84, 229)
HSLhsl(291, 74%, 61%)
HSVhsv(291, 63%, 90%)
CMYKcmyk(9.6%, 63.3%, 0%, 10.2%)
CIE-LABlab(57.33, 67.88, -51.54)
CIE-LCHlch(57.33, 85.22, 322.79°)
OKLaboklab(66.14% 0.1792 -0.1437)
OKLCHoklch(66.14% 0.23 321.3)
XYZxyz(43.0437, 25.2654, 76.7230)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54E5 #6AE554
analogous
#8754E5 #CF54E5 #E554B2
triadic
#CF54E5 #E5CF54 #54E5CF
tetradic
#CF54E5 #E58754 #6AE554 #54B2E5
square
#CF54E5 #E58754 #6AE554 #54B2E5
split-complementary
#CF54E5 #B2E554 #54E587
monochromatic
#9019A5 #BE21DB #CF54E5 #DE89ED #EDBEF5

Accessibility & contrast

On white

3.47
#CF54E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CF54E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54E5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54E5#FFFFFF#000000##000000
##CF54E51.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#D16C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf54e5;
/* rgb */ color: rgb(207, 84, 229);
/* oklch */ color: oklch(66.1% 0.230 321.3);
Tailwind
colors: {
  custom: {
    50: '#e18cee',
    500: '#cf54e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf54e5;
$custom-light: #e18cee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54e5",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 290.897,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66139,
    "c": 0.22969,
    "h": 321.3
  },
  "luminance": 0.25263
}

Semantic roles & 50–950 ramp

primary
#CF54E5
secondary
#B8E6AF
accent
#D6102E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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