#CF54BB#CF54BB

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

Color values

HEX#CF54BB
RGBrgb(207, 84, 187)
HSLhsl(310, 56%, 57%)
HSVhsv(310, 59%, 81%)
CMYKcmyk(0%, 59.4%, 9.7%, 18.8%)
CIE-LABlab(55.27, 60.71, -30.88)
CIE-LCHlch(55.27, 68.12, 333.04°)
OKLaboklab(63.97% 0.1758 -0.0841)
OKLCHoklch(63.97% 0.195 334.4)
XYZxyz(37.8723, 23.1968, 49.4868)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54BB #54CF68
analogous
#A654CF #CF54BB #CF547E
triadic
#CF54BB #BBCF54 #54BBCF
tetradic
#CF54BB #CFA654 #54CF68 #547ECF
square
#CF54BB #CFA654 #54CF68 #547ECF
split-complementary
#CF54BB #7ECF54 #54CFA6
monochromatic
#842574 #B3329E #CF54BB #DC84CE #EAB4E1

Accessibility & contrast

On white

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

On black

5.64
#CF54BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54BB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54BB#FFFFFF#000000##000000
##CF54BB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#798BB8
Tritanopia (blue-blind)
#D85C80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf54bb;
/* rgb */ color: rgb(207, 84, 187);
/* oklch */ color: oklch(64.0% 0.195 334.4);
Tailwind
colors: {
  custom: {
    50: '#e18bcf',
    500: '#cf54bb',
    950: '#000000',
  },
}
SCSS
$custom: #cf54bb;
$custom-light: #e18bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54bb",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 309.756,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63972,
    "c": 0.19489,
    "h": 334.4
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#CF54BB
secondary
#A6D8AF
accent
#DF6148
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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