#EF6AF2#EF6AF2

#EF6AF2 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.4% C 0.227 H 326.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#EF6AF2
RGBrgb(239, 106, 242)
HSLhsl(299, 84%, 68%)
HSVhsv(299, 56%, 95%)
CMYKcmyk(1.2%, 56.2%, 0%, 5.1%)
CIE-LABlab(65.81, 68.49, -45.09)
CIE-LCHlch(65.81, 81.99, 326.64°)
OKLaboklab(73.41% 0.1895 -0.1244)
OKLCHoklch(73.41% 0.227 326.7)
XYZxyz(56.7766, 35.0730, 87.7664)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF6AF2 #6DF26A
analogous
#AB6AF2 #EF6AF2 #F26AB1
triadic
#EF6AF2 #F2EF6A #6AF2EF
tetradic
#EF6AF2 #F2AB6A #6DF26A #6AB1F2
square
#EF6AF2 #F2AB6A #6DF26A #6AB1F2
split-complementary
#EF6AF2 #B1F26A #6AF2AB
monochromatic
#CB12CF #E932ED #EF6AF2 #F5A2F7 #FBDBFC

Accessibility & contrast

On white

2.62
#EF6AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#EF6AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF6AF2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF6AF2#FFFFFF#000000##000000
##EF6AF21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#86A6EE
Tritanopia (blue-blind)
#F57BA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ef6af2;
/* rgb */ color: rgb(239, 106, 242);
/* oklch */ color: oklch(73.4% 0.227 326.7);
Tailwind
colors: {
  custom: {
    50: '#f79bf7',
    500: '#ef6af2',
    950: '#000000',
  },
}
SCSS
$custom: #ef6af2;
$custom-light: #f79bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef6af2",
  "rgb": {
    "r": 239,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 298.676,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73406,
    "c": 0.22663,
    "h": 326.7
  },
  "luminance": 0.3507
}

Semantic roles & 50–950 ramp

primary
#EF6AF2
secondary
#C8F1C7
accent
#E0050A
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85

Preview Lab

Preview with #EF6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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