#CF54E6#CF54E6

#CF54E6 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.231 H 321.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CF54E6
RGBrgb(207, 84, 230)
HSLhsl(291, 74%, 62%)
HSVhsv(291, 63%, 90%)
CMYKcmyk(10%, 63.5%, 0%, 9.8%)
CIE-LABlab(57.39, 68.06, -52.01)
CIE-LCHlch(57.39, 85.66, 322.61°)
OKLaboklab(66.2% 0.1792 -0.1451)
OKLCHoklch(66.2% 0.231 321)
XYZxyz(43.1837, 25.3214, 77.4604)
Luminance0.2532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54E6 #6BE654
analogous
#8654E6 #CF54E6 #E654B4
triadic
#CF54E6 #E6CF54 #54E6CF
tetradic
#CF54E6 #E68654 #6BE654 #54B4E6
square
#CF54E6 #E68654 #6BE654 #54B4E6
split-complementary
#CF54E6 #B4E654 #54E686
monochromatic
#9118A7 #BF20DD #CF54E6 #DE89EE #EDBFF6

Accessibility & contrast

On white

3.46
#CF54E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CF54E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54E6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54E6#FFFFFF#000000##000000
##CF54E61.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D81EA
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#D16C96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf54e6;
/* rgb */ color: rgb(207, 84, 230);
/* oklch */ color: oklch(66.2% 0.231 321.0);
Tailwind
colors: {
  custom: {
    50: '#e18cee',
    500: '#cf54e6',
    950: '#000000',
  },
}
SCSS
$custom: #cf54e6;
$custom-light: #e18cee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54e6",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 290.548,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.23057,
    "h": 321
  },
  "luminance": 0.25319
}

Semantic roles & 50–950 ramp

primary
#CF54E6
secondary
#B8E6B0
accent
#D70F2E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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