#CF47CB#CF47CB

#CF47CB is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.4% C 0.225 H 329.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CF47CB
RGBrgb(207, 71, 203)
HSLhsl(302, 59%, 55%)
HSVhsv(302, 66%, 81%)
CMYKcmyk(0%, 65.7%, 1.9%, 18.8%)
CIE-LABlab(54.12, 68.56, -41.89)
CIE-LCHlch(54.12, 80.35, 328.58°)
OKLaboklab(63.38% 0.1928 -0.1156)
OKLCHoklch(63.38% 0.225 329.1)
XYZxyz(38.7645, 22.0864, 58.7097)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47CB #47CF4B
analogous
#8F47CF #CF47CB #CF4787
triadic
#CF47CB #CBCF47 #47CBCF
tetradic
#CF47CB #CF8F47 #47CF4B #4787CF
square
#CF47CB #CF8F47 #47CF4B #4787CF
split-complementary
#CF47CB #87CF47 #47CF8F
monochromatic
#7B2079 #AC2DA8 #CF47CB #DC78D9 #E8A8E6

Accessibility & contrast

On white

3.88
#CF47CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CF47CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47CB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47CB#FFFFFF#000000##000000
##CF47CB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#D65883
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf47cb;
/* rgb */ color: rgb(207, 71, 203);
/* oklch */ color: oklch(63.4% 0.225 329.1);
Tailwind
colors: {
  custom: {
    50: '#e185db',
    500: '#cf47cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf47cb;
$custom-light: #e185db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47cb",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 301.765,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63376,
    "c": 0.22476,
    "h": 329.1
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#CF47CB
secondary
#9CD69E
accent
#E24B46
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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