#CF54BF#CF54BF

#CF54BF is a light, vivid purple. Relative luminance 0.234; OKLCH L 64.2% C 0.198 H 333.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CF54BF
RGBrgb(207, 84, 191)
HSLhsl(308, 56%, 57%)
HSVhsv(308, 59%, 81%)
CMYKcmyk(0%, 59.4%, 7.7%, 18.8%)
CIE-LABlab(55.45, 61.35, -32.91)
CIE-LCHlch(55.45, 69.62, 331.79°)
OKLaboklab(64.16% 0.1764 -0.0899)
OKLCHoklch(64.16% 0.198 333)
XYZxyz(38.3065, 23.3705, 51.7735)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54BF #54CF64
analogous
#A254CF #CF54BF #CF5482
triadic
#CF54BF #BFCF54 #54BFCF
tetradic
#CF54BF #CFA254 #54CF64 #5482CF
square
#CF54BF #CFA254 #54CF64 #5482CF
split-complementary
#CF54BF #82CF54 #54CFA2
monochromatic
#842577 #B332A3 #CF54BF #DC84D1 #EAB4E3

Accessibility & contrast

On white

3.70
#CF54BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CF54BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54BF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54BF#FFFFFF#000000##000000
##CF54BF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#788BBC
Tritanopia (blue-blind)
#D85D82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf54bf;
/* rgb */ color: rgb(207, 84, 191);
/* oklch */ color: oklch(64.2% 0.198 333.0);
Tailwind
colors: {
  custom: {
    50: '#e18bd2',
    500: '#cf54bf',
    950: '#000000',
  },
}
SCSS
$custom: #cf54bf;
$custom-light: #e18bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54bf",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 307.805,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6416,
    "c": 0.19799,
    "h": 333
  },
  "luminance": 0.23368
}

Semantic roles & 50–950 ramp

primary
#CF54BF
secondary
#A6D8AD
accent
#DF5C48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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