#CF54F5#CF54F5

#CF54F5 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.1% C 0.244 H 317.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CF54F5
RGBrgb(207, 84, 245)
HSLhsl(286, 89%, 65%)
HSVhsv(286, 66%, 96%)
CMYKcmyk(15.5%, 65.7%, 0%, 3.9%)
CIE-LABlab(58.23, 70.85, -59.05)
CIE-LCHlch(58.23, 92.23, 320.19°)
OKLaboklab(67.07% 0.179 -0.1656)
OKLCHoklch(67.07% 0.244 317.2)
XYZxyz(45.3815, 26.2005, 89.0352)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54F5 #7AF554
analogous
#7F54F5 #CF54F5 #F554CA
triadic
#CF54F5 #F5CF54 #54F5CF
tetradic
#CF54F5 #F57F54 #7AF554 #54CAF5
square
#CF54F5 #F57F54 #7AF554 #54CAF5
split-complementary
#CF54F5 #CAF554 #54F57F
monochromatic
#980BC3 #BF1AF2 #CF54F5 #DF8EF8 #EFC8FC

Accessibility & contrast

On white

3.37
#CF54F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CF54F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54F5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54F5#FFFFFF#000000##000000
##CF54F51.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0484FA
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#CD729E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf54f5;
/* rgb */ color: rgb(207, 84, 245);
/* oklch */ color: oklch(67.1% 0.244 317.2);
Tailwind
colors: {
  custom: {
    50: '#e28cf9',
    500: '#cf54f5',
    950: '#000000',
  },
}
SCSS
$custom: #cf54f5;
$custom-light: #e28cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54f5",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 245
  },
  "hsl": {
    "h": 285.839,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67071,
    "c": 0.24384,
    "h": 317.2
  },
  "luminance": 0.26199
}

Semantic roles & 50–950 ramp

primary
#CF54F5
secondary
#C4EEB7
accent
#E60036
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF54F5

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

Preview Lab → · Contrast checker → · Palette generator →

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