#CF4FE2#CF4FE2

#CF4FE2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.234 H 322.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CF4FE2
RGBrgb(207, 79, 226)
HSLhsl(292, 72%, 60%)
HSVhsv(292, 65%, 89%)
CMYKcmyk(8.4%, 65%, 0%, 11.4%)
CIE-LABlab(56.44, 69.38, -51.27)
CIE-LCHlch(56.44, 86.27, 323.53°)
OKLaboklab(65.44% 0.1847 -0.1429)
OKLCHoklch(65.44% 0.234 322.3)
XYZxyz(42.2542, 24.3506, 74.4112)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FE2 #62E24F
analogous
#864FE2 #CF4FE2 #E24FAB
triadic
#CF4FE2 #E2CF4F #4FE2CF
tetradic
#CF4FE2 #E2864F #62E24F #4FABE2
square
#CF4FE2 #E2864F #62E24F #4FABE2
split-complementary
#CF4FE2 #ABE24F #4FE286
monochromatic
#8C1A9D #BB22D1 #CF4FE2 #DD84EB #ECB8F3

Accessibility & contrast

On white

3.58
#CF4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CF4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FE2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FE2#FFFFFF#000000##000000
##CF4FE21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#628CDE
Tritanopia (blue-blind)
#D26792
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf4fe2;
/* rgb */ color: rgb(207, 79, 226);
/* oklch */ color: oklch(65.4% 0.234 322.3);
Tailwind
colors: {
  custom: {
    50: '#e189ec',
    500: '#cf4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fe2;
$custom-light: #e189ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fe2",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 292.245,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.23353,
    "h": 322.3
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#CF4FE2
secondary
#B1E3AA
accent
#EE3951
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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