#CF47D7#CF47D7

#CF47D7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.234 H 325.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CF47D7
RGBrgb(207, 71, 215)
HSLhsl(297, 64%, 56%)
HSVhsv(297, 67%, 84%)
CMYKcmyk(3.7%, 67%, 0%, 15.7%)
CIE-LABlab(54.74, 70.55, -47.75)
CIE-LCHlch(54.74, 85.19, 325.91°)
OKLaboklab(64.03% 0.1931 -0.1326)
OKLCHoklch(64.03% 0.234 325.5)
XYZxyz(40.2502, 22.6807, 66.5346)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47D7 #4FD747
analogous
#8747D7 #CF47D7 #D74797
triadic
#CF47D7 #D7CF47 #47D7CF
tetradic
#CF47D7 #D78747 #4FD747 #4797D7
square
#CF47D7 #D78747 #4FD747 #4797D7
split-complementary
#CF47D7 #97D747 #47D787
monochromatic
#811D86 #B128B9 #CF47D7 #DC79E2 #E9ACED

Accessibility & contrast

On white

3.79
#CF47D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CF47D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47D7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47D7#FFFFFF#000000##000000
##CF47D71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#6489D3
Tritanopia (blue-blind)
#D45D8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf47d7;
/* rgb */ color: rgb(207, 71, 215);
/* oklch */ color: oklch(64.0% 0.234 325.5);
Tailwind
colors: {
  custom: {
    50: '#e185e4',
    500: '#cf47d7',
    950: '#000000',
  },
}
SCSS
$custom: #cf47d7;
$custom-light: #e185e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47d7",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 296.667,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64028,
    "c": 0.23425,
    "h": 325.5
  },
  "luminance": 0.22678
}

Semantic roles & 50–950 ramp

primary
#CF47D7
secondary
#A2DB9F
accent
#E7414A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CF47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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