#EF6AFB#EF6AFB

#EF6AFB is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.9% C 0.234 H 324.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#EF6AFB
RGBrgb(239, 106, 251)
HSLhsl(295, 95%, 70%)
HSVhsv(295, 58%, 98%)
CMYKcmyk(4.8%, 57.8%, 0%, 1.6%)
CIE-LABlab(66.23, 70.04, -49.37)
CIE-LCHlch(66.23, 85.69, 324.82°)
OKLaboklab(73.86% 0.1902 -0.1367)
OKLCHoklch(73.86% 0.234 324.3)
XYZxyz(58.1617, 35.6270, 95.0612)
Luminance0.3562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF6AFB #76FB6A
analogous
#A66AFB #EF6AFB #FB6ABF
triadic
#EF6AFB #FBEF6A #6AFBEF
tetradic
#EF6AFB #FBA66A #76FB6A #6ABFFB
square
#EF6AFB #FBA66A #76FB6A #6ABFFB
split-complementary
#EF6AFB #BFFB6A #6AFBA6
monochromatic
#D206E4 #E92EF9 #EF6AFB #F5A6FD #FCE1FE

Accessibility & contrast

On white

2.58
#EF6AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#EF6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF6AFB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF6AFB#FFFFFF#000000##000000
##EF6AFB1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#81A7F7
Tritanopia (blue-blind)
#F37EA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ef6afb;
/* rgb */ color: rgb(239, 106, 251);
/* oklch */ color: oklch(73.9% 0.234 324.3);
Tailwind
colors: {
  custom: {
    50: '#f79bfd',
    500: '#ef6afb',
    950: '#000000',
  },
}
SCSS
$custom: #ef6afb;
$custom-light: #f79bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef6afb",
  "rgb": {
    "r": 239,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 295.034,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.73859,
    "c": 0.23426,
    "h": 324.3
  },
  "luminance": 0.35624
}

Semantic roles & 50–950 ramp

primary
#EF6AFB
secondary
#CFF5CC
accent
#E60013
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F18
muted
#867E86

Preview Lab

Preview with #EF6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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