#CF54CE#CF54CE

#CF54CE is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.9% C 0.210 H 328.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CF54CE
RGBrgb(207, 84, 206)
HSLhsl(300, 56%, 57%)
HSVhsv(300, 59%, 81%)
CMYKcmyk(0%, 59.4%, 0.5%, 18.8%)
CIE-LABlab(56.15, 63.82, -40.40)
CIE-LCHlch(56.15, 75.53, 327.67°)
OKLaboklab(64.9% 0.1781 -0.1114)
OKLCHoklch(64.9% 0.21 328)
XYZxyz(40.0425, 24.0649, 60.9165)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54CE #54CF55
analogous
#9354CF #CF54CE #CF5491
triadic
#CF54CE #CECF54 #54CECF
tetradic
#CF54CE #CF9354 #54CF55 #5491CF
square
#CF54CE #CF9354 #54CF55 #5491CF
split-complementary
#CF54CE #91CF54 #54CF93
monochromatic
#842583 #B332B2 #CF54CE #DC84DC #EAB4E9

Accessibility & contrast

On white

3.61
#CF54CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CF54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54CE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54CE#FFFFFF#000000##000000
##CF54CE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#D56389
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf54ce;
/* rgb */ color: rgb(207, 84, 206);
/* oklch */ color: oklch(64.9% 0.210 328.0);
Tailwind
colors: {
  custom: {
    50: '#e18bdd',
    500: '#cf54ce',
    950: '#000000',
  },
}
SCSS
$custom: #cf54ce;
$custom-light: #e18bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54ce",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 300.488,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.649,
    "c": 0.21006,
    "h": 328
  },
  "luminance": 0.24062
}

Semantic roles & 50–950 ramp

primary
#CF54CE
secondary
#A6D8A7
accent
#DF4A48
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CF54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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