#CF54F8#CF54F8

#CF54F8 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.3% C 0.247 H 316.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CF54F8
RGBrgb(207, 84, 248)
HSLhsl(285, 92%, 65%)
HSVhsv(285, 66%, 97%)
CMYKcmyk(16.5%, 66.1%, 0%, 2.7%)
CIE-LABlab(58.40, 71.42, -60.43)
CIE-LCHlch(58.40, 93.56, 319.76°)
OKLaboklab(67.25% 0.1788 -0.1697)
OKLCHoklch(67.25% 0.247 316.5)
XYZxyz(45.8432, 26.3851, 91.4668)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54F8 #7DF854
analogous
#7D54F8 #CF54F8 #F854CF
triadic
#CF54F8 #F8CF54 #54F8CF
tetradic
#CF54F8 #F87D54 #7DF854 #54CFF8
square
#CF54F8 #F87D54 #7DF854 #54CFF8
split-complementary
#CF54F8 #CFF854 #54F87D
monochromatic
#9908C9 #BE19F6 #CF54F8 #E08FFA #F0CAFD

Accessibility & contrast

On white

3.35
#CF54F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CF54F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54F8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54F8#FFFFFF#000000##000000
##CF54F81.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#CD73A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf54f8;
/* rgb */ color: rgb(207, 84, 248);
/* oklch */ color: oklch(67.3% 0.247 316.5);
Tailwind
colors: {
  custom: {
    50: '#e28dfb',
    500: '#cf54f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf54f8;
$custom-light: #e28dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54f8",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 248
  },
  "hsl": {
    "h": 285,
    "s": 92.135,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67251,
    "c": 0.24652,
    "h": 316.5
  },
  "luminance": 0.26383
}

Semantic roles & 50–950 ramp

primary
#CF54F8
secondary
#C6F0B8
accent
#E60039
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF54F8

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

Preview Lab → · Contrast checker → · Palette generator →

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