#CF48C1#CF48C1

#CF48C1 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.0% C 0.216 H 332.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CF48C1
RGBrgb(207, 72, 193)
HSLhsl(306, 58%, 55%)
HSVhsv(306, 65%, 81%)
CMYKcmyk(0%, 65.2%, 6.8%, 18.8%)
CIE-LABlab(53.76, 66.58, -36.70)
CIE-LCHlch(53.76, 76.03, 331.13°)
OKLaboklab(62.96% 0.1909 -0.1006)
OKLCHoklch(62.96% 0.216 332.2)
XYZxyz(37.6752, 21.7533, 52.6562)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48C1 #48CF56
analogous
#9948CF #CF48C1 #CF487E
triadic
#CF48C1 #C1CF48 #48C1CF
tetradic
#CF48C1 #CF9948 #48CF56 #487ECF
square
#CF48C1 #CF9948 #48CF56 #487ECF
split-complementary
#CF48C1 #7ECF48 #48CF99
monochromatic
#7C2173 #AD2D9F #CF48C1 #DC78D1 #E8A9E2

Accessibility & contrast

On white

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

On black

5.35
#CF48C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48C1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48C1#FFFFFF#000000##000000
##CF48C11.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C5
Deuteranopia (green-blind)
#7087BE
Tritanopia (blue-blind)
#D7557E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf48c1;
/* rgb */ color: rgb(207, 72, 193);
/* oklch */ color: oklch(63.0% 0.216 332.2);
Tailwind
colors: {
  custom: {
    50: '#e185d4',
    500: '#cf48c1',
    950: '#000000',
  },
}
SCSS
$custom: #cf48c1;
$custom-light: #e185d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48c1",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 306.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62961,
    "c": 0.21583,
    "h": 332.2
  },
  "luminance": 0.2175
}

Semantic roles & 50–950 ramp

primary
#CF48C1
secondary
#9DD6A3
accent
#E25646
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF48C1

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

Preview Lab → · Contrast checker → · Palette generator →

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