#CF54D7#CF54D7

#CF54D7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.218 H 325.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CF54D7
RGBrgb(207, 84, 215)
HSLhsl(296, 62%, 59%)
HSVhsv(296, 61%, 84%)
CMYKcmyk(3.7%, 60.9%, 0%, 15.7%)
CIE-LABlab(56.60, 65.38, -44.80)
CIE-LCHlch(56.60, 79.26, 325.58°)
OKLaboklab(65.37% 0.1788 -0.1241)
OKLCHoklch(65.37% 0.218 325.2)
XYZxyz(41.1673, 24.5148, 66.8403)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54D7 #5CD754
analogous
#8D54D7 #CF54D7 #D7549D
triadic
#CF54D7 #D7CF54 #54D7CF
tetradic
#CF54D7 #D78D54 #5CD754 #549DD7
square
#CF54D7 #D78D54 #5CD754 #549DD7
split-complementary
#CF54D7 #9DD754 #54D78D
monochromatic
#88218F #B82DC1 #CF54D7 #DD86E3 #EBB7EE

Accessibility & contrast

On white

3.56
#CF54D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CF54D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54D7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54D7#FFFFFF#000000##000000
##CF54D71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDB
Deuteranopia (green-blind)
#6C8DD3
Tritanopia (blue-blind)
#D4668E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf54d7;
/* rgb */ color: rgb(207, 84, 215);
/* oklch */ color: oklch(65.4% 0.218 325.2);
Tailwind
colors: {
  custom: {
    50: '#e18ce4',
    500: '#cf54d7',
    950: '#000000',
  },
}
SCSS
$custom: #cf54d7;
$custom-light: #e18ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54d7",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 296.336,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.21762,
    "h": 325.2
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

primary
#CF54D7
secondary
#ADDDA9
accent
#E5434D
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #CF54D7

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

Preview Lab → · Contrast checker → · Palette generator →

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