#CF54C3#CF54C3

#CF54C3 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.4% C 0.201 H 331.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CF54C3
RGBrgb(207, 84, 195)
HSLhsl(306, 56%, 57%)
HSVhsv(306, 59%, 81%)
CMYKcmyk(0%, 59.4%, 5.8%, 18.8%)
CIE-LABlab(55.63, 61.99, -34.92)
CIE-LCHlch(55.63, 71.16, 330.61°)
OKLaboklab(64.35% 0.177 -0.0956)
OKLCHoklch(64.35% 0.201 331.6)
XYZxyz(38.7527, 23.5489, 54.1235)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54C3 #54CF60
analogous
#9E54CF #CF54C3 #CF5485
triadic
#CF54C3 #C3CF54 #54C3CF
tetradic
#CF54C3 #CF9E54 #54CF60 #5485CF
square
#CF54C3 #CF9E54 #54CF60 #5485CF
split-complementary
#CF54C3 #85CF54 #54CF9E
monochromatic
#84257A #B332A7 #CF54C3 #DC84D4 #EAB4E5

Accessibility & contrast

On white

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

On black

5.71
#CF54C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54C3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54C3#FFFFFF#000000##000000
##CF54C31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC6
Deuteranopia (green-blind)
#768CC0
Tritanopia (blue-blind)
#D75F84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf54c3;
/* rgb */ color: rgb(207, 84, 195);
/* oklch */ color: oklch(64.4% 0.201 331.6);
Tailwind
colors: {
  custom: {
    50: '#e18bd5',
    500: '#cf54c3',
    950: '#000000',
  },
}
SCSS
$custom: #cf54c3;
$custom-light: #e18bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54c3",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 305.854,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64352,
    "c": 0.20113,
    "h": 331.6
  },
  "luminance": 0.23546
}

Semantic roles & 50–950 ramp

primary
#CF54C3
secondary
#A6D8AB
accent
#DF5748
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF54C3

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

Preview Lab → · Contrast checker → · Palette generator →

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