#CF54C5#CF54C5

#CF54C5 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.4% C 0.203 H 330.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CF54C5
RGBrgb(207, 84, 197)
HSLhsl(305, 56%, 57%)
HSVhsv(305, 59%, 81%)
CMYKcmyk(0%, 59.4%, 4.8%, 18.8%)
CIE-LABlab(55.73, 62.32, -35.93)
CIE-LCHlch(55.73, 71.94, 330.04°)
OKLaboklab(64.45% 0.1772 -0.0985)
OKLCHoklch(64.45% 0.203 330.9)
XYZxyz(38.9803, 23.6400, 55.3224)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54C5 #54CF5E
analogous
#9C54CF #CF54C5 #CF5488
triadic
#CF54C5 #C5CF54 #54C5CF
tetradic
#CF54C5 #CF9C54 #54CF5E #5488CF
square
#CF54C5 #CF9C54 #54CF5E #5488CF
split-complementary
#CF54C5 #88CF54 #54CF9C
monochromatic
#84257C #B332A9 #CF54C5 #DC84D5 #EAB4E5

Accessibility & contrast

On white

3.67
#CF54C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CF54C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54C5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54C5#FFFFFF#000000##000000
##CF54C51.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7BC8
Deuteranopia (green-blind)
#758CC2
Tritanopia (blue-blind)
#D76085
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf54c5;
/* rgb */ color: rgb(207, 84, 197);
/* oklch */ color: oklch(64.4% 0.203 330.9);
Tailwind
colors: {
  custom: {
    50: '#e18bd7',
    500: '#cf54c5',
    950: '#000000',
  },
}
SCSS
$custom: #cf54c5;
$custom-light: #e18bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54c5",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 304.878,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64449,
    "c": 0.20273,
    "h": 330.9
  },
  "luminance": 0.23637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF54C5

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

Preview Lab → · Contrast checker → · Palette generator →

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