#CF54CF#CF54CF

#CF54CF is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.211 H 327.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CF54CF
RGBrgb(207, 84, 207)
HSLhsl(300, 56%, 57%)
HSVhsv(300, 59%, 81%)
CMYKcmyk(0%, 59.4%, 0%, 18.8%)
CIE-LABlab(56.20, 63.99, -40.89)
CIE-LCHlch(56.20, 75.94, 327.42°)
OKLaboklab(64.95% 0.1782 -0.1128)
OKLCHoklch(64.95% 0.211 327.7)
XYZxyz(40.1643, 24.1136, 61.5583)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54CF #54CF54
analogous
#9254CF #CF54CF #CF5492
triadic
#CF54CF #CFCF54 #54CFCF
tetradic
#CF54CF #CF9254 #54CF54 #5492CF
square
#CF54CF #CF9254 #54CF54 #5492CF
split-complementary
#CF54CF #92CF54 #54CF92
monochromatic
#842584 #B332B3 #CF54CF #DC84DC #EAB4EA

Accessibility & contrast

On white

3.61
#CF54CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CF54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54CF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54CF#FFFFFF#000000##000000
##CF54CF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#D5638A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf54cf;
/* rgb */ color: rgb(207, 84, 207);
/* oklch */ color: oklch(65.0% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#e18bde',
    500: '#cf54cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf54cf;
$custom-light: #e18bde;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54cf",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64951,
    "c": 0.21089,
    "h": 327.7
  },
  "luminance": 0.24111
}

Semantic roles & 50–950 ramp

primary
#CF54CF
secondary
#A6D8A6
accent
#DF4848
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CF54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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