#CF54D5#CF54D5

#CF54D5 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.3% C 0.216 H 325.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CF54D5
RGBrgb(207, 84, 213)
HSLhsl(297, 61%, 58%)
HSVhsv(297, 61%, 84%)
CMYKcmyk(2.8%, 60.6%, 0%, 16.5%)
CIE-LABlab(56.50, 65.03, -43.83)
CIE-LCHlch(56.50, 78.42, 326.02°)
OKLaboklab(65.26% 0.1786 -0.1213)
OKLCHoklch(65.26% 0.216 325.8)
XYZxyz(40.9118, 24.4126, 65.4951)
Luminance0.2441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54D5 #5AD554
analogous
#8E54D5 #CF54D5 #D5549A
triadic
#CF54D5 #D5CF54 #54D5CF
tetradic
#CF54D5 #D58E54 #5AD554 #549AD5
square
#CF54D5 #D58E54 #5AD554 #549AD5
split-complementary
#CF54D5 #9AD554 #54D58E
monochromatic
#87228C #B72EBD #CF54D5 #DD85E1 #EBB6ED

Accessibility & contrast

On white

3.57
#CF54D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CF54D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54D5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54D5#FFFFFF#000000##000000
##CF54D51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#407ED9
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#D4668D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf54d5;
/* rgb */ color: rgb(207, 84, 213);
/* oklch */ color: oklch(65.3% 0.216 325.8);
Tailwind
colors: {
  custom: {
    50: '#e18ce2',
    500: '#cf54d5',
    950: '#000000',
  },
}
SCSS
$custom: #cf54d5;
$custom-light: #e18ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54d5",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 297.209,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65264,
    "c": 0.21592,
    "h": 325.8
  },
  "luminance": 0.2441
}

Semantic roles & 50–950 ramp

primary
#CF54D5
secondary
#ABDCA9
accent
#E4444C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CF54D5

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

Preview Lab → · Contrast checker → · Palette generator →

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