#CF54C8#CF54C8

#CF54C8 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.6% C 0.205 H 329.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CF54C8
RGBrgb(207, 84, 200)
HSLhsl(303, 56%, 57%)
HSVhsv(303, 59%, 81%)
CMYKcmyk(0%, 59.4%, 3.4%, 18.8%)
CIE-LABlab(55.87, 62.82, -37.42)
CIE-LCHlch(55.87, 73.12, 329.21°)
OKLaboklab(64.6% 0.1775 -0.1028)
OKLCHoklch(64.6% 0.205 329.9)
XYZxyz(39.3275, 23.7789, 57.1508)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54C8 #54CF5B
analogous
#9954CF #CF54C8 #CF548A
triadic
#CF54C8 #C8CF54 #54C8CF
tetradic
#CF54C8 #CF9954 #54CF5B #548ACF
square
#CF54C8 #CF9954 #54CF5B #548ACF
split-complementary
#CF54C8 #8ACF54 #54CF99
monochromatic
#84257E #B332AC #CF54C8 #DC84D7 #EAB4E7

Accessibility & contrast

On white

3.65
#CF54C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CF54C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54C8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54C8#FFFFFF#000000##000000
##CF54C81.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCC
Deuteranopia (green-blind)
#748CC5
Tritanopia (blue-blind)
#D66186
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf54c8;
/* rgb */ color: rgb(207, 84, 200);
/* oklch */ color: oklch(64.6% 0.205 329.9);
Tailwind
colors: {
  custom: {
    50: '#e18bd9',
    500: '#cf54c8',
    950: '#000000',
  },
}
SCSS
$custom: #cf54c8;
$custom-light: #e18bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54c8",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 303.415,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64597,
    "c": 0.20515,
    "h": 329.9
  },
  "luminance": 0.23776
}

Semantic roles & 50–950 ramp

primary
#CF54C8
secondary
#A6D8A9
accent
#DF5148
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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