#CF54C2#CF54C2

#CF54C2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.3% C 0.200 H 332.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CF54C2
RGBrgb(207, 84, 194)
HSLhsl(306, 56%, 57%)
HSVhsv(306, 59%, 81%)
CMYKcmyk(0%, 59.4%, 6.3%, 18.8%)
CIE-LABlab(55.59, 61.83, -34.42)
CIE-LCHlch(55.59, 70.77, 330.89°)
OKLaboklab(64.3% 0.1768 -0.0942)
OKLCHoklch(64.3% 0.2 332)
XYZxyz(38.6400, 23.5039, 53.5300)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54C2 #54CF61
analogous
#9E54CF #CF54C2 #CF5485
triadic
#CF54C2 #C2CF54 #54C2CF
tetradic
#CF54C2 #CF9E54 #54CF61 #5485CF
square
#CF54C2 #CF9E54 #54CF61 #5485CF
split-complementary
#CF54C2 #85CF54 #54CF9E
monochromatic
#84257A #B332A6 #CF54C2 #DC84D3 #EAB4E4

Accessibility & contrast

On white

3.68
#CF54C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CF54C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54C2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54C2#FFFFFF#000000##000000
##CF54C21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC5
Deuteranopia (green-blind)
#768BBF
Tritanopia (blue-blind)
#D75F83
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf54c2;
/* rgb */ color: rgb(207, 84, 194);
/* oklch */ color: oklch(64.3% 0.200 332.0);
Tailwind
colors: {
  custom: {
    50: '#e18bd5',
    500: '#cf54c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf54c2;
$custom-light: #e18bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54c2",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 306.341,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.20034,
    "h": 332
  },
  "luminance": 0.23501
}

Semantic roles & 50–950 ramp

primary
#CF54C2
secondary
#A6D8AC
accent
#DF5848
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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