#CF2EF4#CF2EF4

#CF2EF4 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.9% C 0.281 H 318.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CF2EF4
RGBrgb(207, 46, 244)
HSLhsl(289, 90%, 57%)
HSVhsv(289, 81%, 96%)
CMYKcmyk(15.2%, 81.1%, 0%, 4.3%)
CIE-LABlab(53.76, 83.24, -65.66)
CIE-LCHlch(53.76, 106.02, 321.73°)
OKLaboklab(63.88% 0.2117 -0.1848)
OKLCHoklch(63.88% 0.281 318.9)
XYZxyz(43.0361, 21.7532, 87.5023)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2EF4 #53F42E
analogous
#6C2EF4 #CF2EF4 #F42EB6
triadic
#CF2EF4 #F4CF2E #2EF4CF
tetradic
#CF2EF4 #F46C2E #53F42E #2EB6F4
square
#CF2EF4 #F46C2E #53F42E #2EB6F4
split-complementary
#CF2EF4 #B6F42E #2EF46C
monochromatic
#83089F #B30BD9 #CF2EF4 #DC68F7 #EAA2FA

Accessibility & contrast

On white

3.93
#CF2EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CF2EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2EF4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2EF4#FFFFFF#000000##000000
##CF2EF41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#3D85F0
Tritanopia (blue-blind)
#CE5D94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf2ef4;
/* rgb */ color: rgb(207, 46, 244);
/* oklch */ color: oklch(63.9% 0.281 318.9);
Tailwind
colors: {
  custom: {
    50: '#e37cf9',
    500: '#cf2ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ef4;
$custom-light: #e37cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ef4",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 244
  },
  "hsl": {
    "h": 288.788,
    "s": 90,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63881,
    "c": 0.28102,
    "h": 318.9
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#CF2EF4
secondary
#A6E797
accent
#FF2951
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B17
muted
#847C85

Preview Lab

Preview with #CF2EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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