#EB6AF2#EB6AF2

#EB6AF2 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.9% C 0.224 H 325.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#EB6AF2
RGBrgb(235, 106, 242)
HSLhsl(297, 84%, 68%)
HSVhsv(297, 56%, 95%)
CMYKcmyk(2.9%, 56.2%, 0%, 5.1%)
CIE-LABlab(65.27, 67.48, -45.97)
CIE-LCHlch(65.27, 81.65, 325.73°)
OKLaboklab(72.9% 0.1851 -0.127)
OKLCHoklch(72.9% 0.224 325.5)
XYZxyz(55.4408, 34.3842, 87.7038)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB6AF2 #71F26A
analogous
#A76AF2 #EB6AF2 #F26AB5
triadic
#EB6AF2 #F2EB6A #6AF2EB
tetradic
#EB6AF2 #F2A76A #71F26A #6AB5F2
square
#EB6AF2 #F2A76A #71F26A #6AB5F2
split-complementary
#EB6AF2 #B5F26A #6AF2A7
monochromatic
#C612CF #E332ED #EB6AF2 #F3A2F7 #FADBFC

Accessibility & contrast

On white

2.67
#EB6AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#EB6AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB6AF2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB6AF2#FFFFFF#000000##000000
##EB6AF21.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#F07CA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #eb6af2;
/* rgb */ color: rgb(235, 106, 242);
/* oklch */ color: oklch(72.9% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#f49bf7',
    500: '#eb6af2',
    950: '#000000',
  },
}
SCSS
$custom: #eb6af2;
$custom-light: #f49bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb6af2",
  "rgb": {
    "r": 235,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 296.912,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72902,
    "c": 0.22449,
    "h": 325.5
  },
  "luminance": 0.34381
}

Semantic roles & 50–950 ramp

primary
#EB6AF2
secondary
#C9F1C7
accent
#E00510
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170F17
muted
#857E85

Preview Lab

Preview with #EB6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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