#CF4FF2#CF4FF2

#CF4FF2 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.4% C 0.247 H 318.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CF4FF2
RGBrgb(207, 79, 242)
HSLhsl(287, 86%, 63%)
HSVhsv(287, 67%, 95%)
CMYKcmyk(14.5%, 67.4%, 0%, 5.1%)
CIE-LABlab(57.34, 72.29, -58.80)
CIE-LCHlch(57.34, 93.19, 320.88°)
OKLaboklab(66.38% 0.1843 -0.1649)
OKLCHoklch(66.38% 0.247 318.2)
XYZxyz(44.5529, 25.2701, 86.5180)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FF2 #72F24F
analogous
#7E4FF2 #CF4FF2 #F24FC3
triadic
#CF4FF2 #F2CF4F #4FF2CF
tetradic
#CF4FF2 #F27E4F #72F24F #4FC3F2
square
#CF4FF2 #F27E4F #72F24F #4FC3F2
split-complementary
#CF4FF2 #C3F24F #4FF27E
monochromatic
#940EB9 #BF16EE #CF4FF2 #DF88F6 #EEC1FA

Accessibility & contrast

On white

3.47
#CF4FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CF4FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FF2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FF2#FFFFFF#000000##000000
##CF4FF21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#568EEE
Tritanopia (blue-blind)
#CE6E9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf4ff2;
/* rgb */ color: rgb(207, 79, 242);
/* oklch */ color: oklch(66.4% 0.247 318.2);
Tailwind
colors: {
  custom: {
    50: '#e28af7',
    500: '#cf4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ff2;
$custom-light: #e28af7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ff2",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 287.117,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66377,
    "c": 0.2473,
    "h": 318.2
  },
  "luminance": 0.25268
}

Semantic roles & 50–950 ramp

primary
#CF4FF2
secondary
#BEECB1
accent
#E30333
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CF4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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