#CF50BA#CF50BA

#CF50BA is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.5% C 0.200 H 334.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CF50BA
RGBrgb(207, 80, 186)
HSLhsl(310, 57%, 56%)
HSVhsv(310, 61%, 81%)
CMYKcmyk(0%, 61.4%, 10.1%, 18.8%)
CIE-LABlab(54.61, 62.26, -31.35)
CIE-LCHlch(54.61, 69.71, 333.28°)
OKLaboklab(63.47% 0.1807 -0.0853)
OKLCHoklch(63.47% 0.2 334.7)
XYZxyz(37.4640, 22.5508, 48.8244)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF50BA #50CF65
analogous
#A550CF #CF50BA #CF507B
triadic
#CF50BA #BACF50 #50BACF
tetradic
#CF50BA #CFA550 #50CF65 #507BCF
square
#CF50BA #CFA550 #50CF65 #507BCF
split-complementary
#CF50BA #7BCF50 #50CFA5
monochromatic
#812372 #B1319C #CF50BA #DC80CD #E9B0E0

Accessibility & contrast

On white

3.81
#CF50BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CF50BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF50BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF50BA#FFFFFF#000000##000000
##CF50BA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BD
Deuteranopia (green-blind)
#7889B7
Tritanopia (blue-blind)
#D8587E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf50ba;
/* rgb */ color: rgb(207, 80, 186);
/* oklch */ color: oklch(63.5% 0.200 334.7);
Tailwind
colors: {
  custom: {
    50: '#e189cf',
    500: '#cf50ba',
    950: '#000000',
  },
}
SCSS
$custom: #cf50ba;
$custom-light: #e189cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf50ba",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 309.921,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63469,
    "c": 0.19983,
    "h": 334.7
  },
  "luminance": 0.22548
}

Semantic roles & 50–950 ramp

primary
#CF50BA
secondary
#A3D8AC
accent
#E06148
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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