#CF54C6#CF54C6

#CF54C6 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.5% C 0.204 H 330.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CF54C6
RGBrgb(207, 84, 198)
HSLhsl(304, 56%, 57%)
HSVhsv(304, 59%, 81%)
CMYKcmyk(0%, 59.4%, 4.3%, 18.8%)
CIE-LABlab(55.77, 62.49, -36.43)
CIE-LCHlch(55.77, 72.33, 329.76°)
OKLaboklab(64.5% 0.1773 -0.0999)
OKLCHoklch(64.5% 0.204 330.6)
XYZxyz(39.0953, 23.6860, 55.9278)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54C6 #54CF5D
analogous
#9A54CF #CF54C6 #CF5489
triadic
#CF54C6 #C6CF54 #54C6CF
tetradic
#CF54C6 #CF9A54 #54CF5D #5489CF
square
#CF54C6 #CF9A54 #54CF5D #5489CF
split-complementary
#CF54C6 #89CF54 #54CF9A
monochromatic
#84257D #B332AA #CF54C6 #DC84D6 #EAB4E6

Accessibility & contrast

On white

3.66
#CF54C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CF54C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54C6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54C6#FFFFFF#000000##000000
##CF54C61.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCA
Deuteranopia (green-blind)
#758CC3
Tritanopia (blue-blind)
#D66085
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf54c6;
/* rgb */ color: rgb(207, 84, 198);
/* oklch */ color: oklch(64.5% 0.204 330.6);
Tailwind
colors: {
  custom: {
    50: '#e18bd7',
    500: '#cf54c6',
    950: '#000000',
  },
}
SCSS
$custom: #cf54c6;
$custom-light: #e18bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54c6",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 198
  },
  "hsl": {
    "h": 304.39,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64499,
    "c": 0.20352,
    "h": 330.6
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#CF54C6
secondary
#A6D8AA
accent
#DF5348
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF54C6

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

Preview Lab → · Contrast checker → · Palette generator →

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