#CF54CB#CF54CB

#CF54CB is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.208 H 328.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CF54CB
RGBrgb(207, 84, 203)
HSLhsl(302, 56%, 57%)
HSVhsv(302, 59%, 81%)
CMYKcmyk(0%, 59.4%, 1.9%, 18.8%)
CIE-LABlab(56.01, 63.32, -38.91)
CIE-LCHlch(56.01, 74.32, 328.43°)
OKLaboklab(64.75% 0.1778 -0.1071)
OKLCHoklch(64.75% 0.208 328.9)
XYZxyz(39.6815, 23.9205, 59.0154)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54CB #54CF58
analogous
#9554CF #CF54CB #CF548E
triadic
#CF54CB #CBCF54 #54CBCF
tetradic
#CF54CB #CF9554 #54CF58 #548ECF
square
#CF54CB #CF9554 #54CF58 #548ECF
split-complementary
#CF54CB #8ECF54 #54CF95
monochromatic
#842581 #B332AF #CF54CB #DC84DA #EAB4E8

Accessibility & contrast

On white

3.63
#CF54CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CF54CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54CB#FFFFFF#000000##000000
##CF54CB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#D66288
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf54cb;
/* rgb */ color: rgb(207, 84, 203);
/* oklch */ color: oklch(64.7% 0.208 328.9);
Tailwind
colors: {
  custom: {
    50: '#e18bdb',
    500: '#cf54cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf54cb;
$custom-light: #e18bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54cb",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 301.951,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64748,
    "c": 0.20759,
    "h": 328.9
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

primary
#CF54CB
secondary
#A6D8A8
accent
#DF4D48
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CF54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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