#CF54BC#CF54BC

#CF54BC is a light, vivid purple. Relative luminance 0.232; OKLCH L 64.0% C 0.196 H 334.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CF54BC
RGBrgb(207, 84, 188)
HSLhsl(309, 56%, 57%)
HSVhsv(309, 59%, 81%)
CMYKcmyk(0%, 59.4%, 9.2%, 18.8%)
CIE-LABlab(55.32, 60.87, -31.39)
CIE-LCHlch(55.32, 68.49, 332.72°)
OKLaboklab(64.02% 0.176 -0.0855)
OKLCHoklch(64.02% 0.196 334.1)
XYZxyz(37.9797, 23.2398, 50.0526)
Luminance0.2324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54BC #54CF67
analogous
#A454CF #CF54BC #CF547F
triadic
#CF54BC #BCCF54 #54BCCF
tetradic
#CF54BC #CFA454 #54CF67 #547FCF
square
#CF54BC #CFA454 #54CF67 #547FCF
split-complementary
#CF54BC #7FCF54 #54CFA4
monochromatic
#842575 #B3329F #CF54BC #DC84CF #EAB4E1

Accessibility & contrast

On white

3.72
#CF54BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CF54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54BC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54BC#FFFFFF#000000##000000
##CF54BC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#798BB9
Tritanopia (blue-blind)
#D85C80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf54bc;
/* rgb */ color: rgb(207, 84, 188);
/* oklch */ color: oklch(64.0% 0.196 334.1);
Tailwind
colors: {
  custom: {
    50: '#e18bd0',
    500: '#cf54bc',
    950: '#000000',
  },
}
SCSS
$custom: #cf54bc;
$custom-light: #e18bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54bc",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 309.268,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.19567,
    "h": 334.1
  },
  "luminance": 0.23237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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