#CF54D1#CF54D1

#CF54D1 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.213 H 327.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CF54D1
RGBrgb(207, 84, 209)
HSLhsl(299, 58%, 57%)
HSVhsv(299, 60%, 82%)
CMYKcmyk(1%, 59.8%, 0%, 18%)
CIE-LABlab(56.30, 64.34, -41.87)
CIE-LCHlch(56.30, 76.76, 326.94°)
OKLaboklab(65.05% 0.1784 -0.1156)
OKLCHoklch(65.05% 0.213 327)
XYZxyz(40.4104, 24.2120, 62.8542)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54D1 #56D154
analogous
#9154D1 #CF54D1 #D15495
triadic
#CF54D1 #D1CF54 #54D1CF
tetradic
#CF54D1 #D19154 #56D154 #5495D1
square
#CF54D1 #D19154 #56D154 #5495D1
split-complementary
#CF54D1 #95D154 #54D191
monochromatic
#852486 #B531B7 #CF54D1 #DD84DE #EAB4EB

Accessibility & contrast

On white

3.59
#CF54D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CF54D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54D1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54D1#FFFFFF#000000##000000
##CF54D11.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD5
Deuteranopia (green-blind)
#6F8DCE
Tritanopia (blue-blind)
#D5648B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf54d1;
/* rgb */ color: rgb(207, 84, 209);
/* oklch */ color: oklch(65.1% 0.213 327.0);
Tailwind
colors: {
  custom: {
    50: '#e18bdf',
    500: '#cf54d1',
    950: '#000000',
  },
}
SCSS
$custom: #cf54d1;
$custom-light: #e18bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54d1",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 299.04,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65055,
    "c": 0.21255,
    "h": 327
  },
  "luminance": 0.24209
}

Semantic roles & 50–950 ramp

primary
#CF54D1
secondary
#A8DAA7
accent
#E14749
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CF54D1

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

Preview Lab → · Contrast checker → · Palette generator →

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