#CF54BD#CF54BD

#CF54BD is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.1% C 0.196 H 333.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CF54BD
RGBrgb(207, 84, 189)
HSLhsl(309, 56%, 57%)
HSVhsv(309, 59%, 81%)
CMYKcmyk(0%, 59.4%, 8.7%, 18.8%)
CIE-LABlab(55.36, 61.03, -31.90)
CIE-LCHlch(55.36, 68.86, 332.40°)
OKLaboklab(64.07% 0.1761 -0.087)
OKLCHoklch(64.07% 0.196 333.7)
XYZxyz(38.0879, 23.2830, 50.6223)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54BD #54CF66
analogous
#A354CF #CF54BD #CF5480
triadic
#CF54BD #BDCF54 #54BDCF
tetradic
#CF54BD #CFA354 #54CF66 #5480CF
square
#CF54BD #CFA354 #54CF66 #5480CF
split-complementary
#CF54BD #80CF54 #54CFA3
monochromatic
#842576 #B332A1 #CF54BD #DC84CF #EAB4E2

Accessibility & contrast

On white

3.71
#CF54BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CF54BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54BD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54BD#FFFFFF#000000##000000
##CF54BD1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279C0
Deuteranopia (green-blind)
#788BBA
Tritanopia (blue-blind)
#D85D81
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf54bd;
/* rgb */ color: rgb(207, 84, 189);
/* oklch */ color: oklch(64.1% 0.196 333.7);
Tailwind
colors: {
  custom: {
    50: '#e18bd1',
    500: '#cf54bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf54bd;
$custom-light: #e18bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54bd",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 308.78,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64066,
    "c": 0.19643,
    "h": 333.7
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#CF54BD
secondary
#A6D8AE
accent
#DF5E48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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