#CF4FC2#CF4FC2

#CF4FC2 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.7% C 0.207 H 331.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CF4FC2
RGBrgb(207, 79, 194)
HSLhsl(306, 57%, 56%)
HSVhsv(306, 62%, 81%)
CMYKcmyk(0%, 61.8%, 6.3%, 18.8%)
CIE-LABlab(54.82, 63.94, -35.62)
CIE-LCHlch(54.82, 73.20, 330.88°)
OKLaboklab(63.74% 0.1829 -0.0976)
OKLCHoklch(63.74% 0.207 331.9)
XYZxyz(38.2657, 22.7552, 53.4052)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FC2 #4FCF5C
analogous
#9C4FCF #CF4FC2 #CF4F82
triadic
#CF4FC2 #C2CF4F #4FC2CF
tetradic
#CF4FC2 #CF9C4F #4FCF5C #4F82CF
square
#CF4FC2 #CF9C4F #4FCF5C #4F82CF
split-complementary
#CF4FC2 #82CF4F #4FCF9C
monochromatic
#812377 #B130A4 #CF4FC2 #DC7FD3 #E9AFE3

Accessibility & contrast

On white

3.78
#CF4FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CF4FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FC2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FC2#FFFFFF#000000##000000
##CF4FC21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#D75B81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf4fc2;
/* rgb */ color: rgb(207, 79, 194);
/* oklch */ color: oklch(63.7% 0.207 331.9);
Tailwind
colors: {
  custom: {
    50: '#e188d5',
    500: '#cf4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fc2;
$custom-light: #e188d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fc2",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 306.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63743,
    "c": 0.20733,
    "h": 331.9
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#CF4FC2
secondary
#A2D7A8
accent
#E05747
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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