#CF54F7#CF54F7

#CF54F7 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.2% C 0.246 H 316.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CF54F7
RGBrgb(207, 84, 247)
HSLhsl(285, 91%, 65%)
HSVhsv(285, 66%, 97%)
CMYKcmyk(16.2%, 66%, 0%, 3.1%)
CIE-LABlab(58.34, 71.23, -59.97)
CIE-LCHlch(58.34, 93.12, 319.91°)
OKLaboklab(67.19% 0.1789 -0.1683)
OKLCHoklch(67.19% 0.246 316.7)
XYZxyz(45.6884, 26.3232, 90.6519)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54F7 #7CF754
analogous
#7E54F7 #CF54F7 #F754CE
triadic
#CF54F7 #F7CF54 #54F7CF
tetradic
#CF54F7 #F77E54 #7CF754 #54CEF7
square
#CF54F7 #F77E54 #7CF754 #54CEF7
split-complementary
#CF54F7 #CEF754 #54F77E
monochromatic
#9909C7 #BF1AF4 #CF54F7 #DF8EFA #F0C9FC

Accessibility & contrast

On white

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

On black

6.26
#CF54F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54F7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54F7#FFFFFF#000000##000000
##CF54F71.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#CD739F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf54f7;
/* rgb */ color: rgb(207, 84, 247);
/* oklch */ color: oklch(67.2% 0.246 316.7);
Tailwind
colors: {
  custom: {
    50: '#e28dfb',
    500: '#cf54f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf54f7;
$custom-light: #e28dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54f7",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 247
  },
  "hsl": {
    "h": 285.276,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67191,
    "c": 0.24562,
    "h": 316.7
  },
  "luminance": 0.26321
}

Semantic roles & 50–950 ramp

primary
#CF54F7
secondary
#C5EFB8
accent
#E60038
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF54F7

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

Preview Lab → · Contrast checker → · Palette generator →

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