#CF4ABA#CF4ABA

#CF4ABA is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.208 H 334.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CF4ABA
RGBrgb(207, 74, 186)
HSLhsl(309, 58%, 55%)
HSVhsv(309, 64%, 81%)
CMYKcmyk(0%, 64.3%, 10.1%, 18.8%)
CIE-LABlab(53.72, 64.71, -32.73)
CIE-LCHlch(53.72, 72.52, 333.17°)
OKLaboklab(62.82% 0.1879 -0.0892)
OKLCHoklch(62.82% 0.208 334.6)
XYZxyz(37.0441, 21.7111, 48.6845)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4ABA #4ACF5F
analogous
#A24ACF #CF4ABA #CF4A77
triadic
#CF4ABA #BACF4A #4ABACF
tetradic
#CF4ABA #CFA24A #4ACF5F #4A77CF
square
#CF4ABA #CFA24A #4ACF5F #4A77CF
split-complementary
#CF4ABA #77CF4A #4ACFA2
monochromatic
#7D216F #AE2E9A #CF4ABA #DC7ACC #E9ABDF

Accessibility & contrast

On white

3.93
#CF4ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CF4ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4ABA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4ABA#FFFFFF#000000##000000
##CF4ABA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#7487B7
Tritanopia (blue-blind)
#D9537B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf4aba;
/* rgb */ color: rgb(207, 74, 186);
/* oklch */ color: oklch(62.8% 0.208 334.6);
Tailwind
colors: {
  custom: {
    50: '#e186cf',
    500: '#cf4aba',
    950: '#000000',
  },
}
SCSS
$custom: #cf4aba;
$custom-light: #e186cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4aba",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 309.474,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.208,
    "h": 334.6
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#CF4ABA
secondary
#9FD6A7
accent
#E15F46
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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