#ED6AF2#ED6AF2

#ED6AF2 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.2% C 0.226 H 326.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#ED6AF2
RGBrgb(237, 106, 242)
HSLhsl(298, 84%, 68%)
HSVhsv(298, 56%, 95%)
CMYKcmyk(2.1%, 56.2%, 0%, 5.1%)
CIE-LABlab(65.54, 67.98, -45.53)
CIE-LCHlch(65.54, 81.82, 326.19°)
OKLaboklab(73.15% 0.1873 -0.1257)
OKLCHoklch(73.15% 0.226 326.1)
XYZxyz(56.1050, 34.7267, 87.7349)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED6AF2 #6FF26A
analogous
#A96AF2 #ED6AF2 #F26AB3
triadic
#ED6AF2 #F2ED6A #6AF2ED
tetradic
#ED6AF2 #F2A96A #6FF26A #6AB3F2
square
#ED6AF2 #F2A96A #6FF26A #6AB3F2
split-complementary
#ED6AF2 #B3F26A #6AF2A9
monochromatic
#C912CF #E632ED #ED6AF2 #F4A2F7 #FBDBFC

Accessibility & contrast

On white

2.64
#ED6AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#ED6AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED6AF2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED6AF2#FFFFFF#000000##000000
##ED6AF21.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#85A5EE
Tritanopia (blue-blind)
#F37BA4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ed6af2;
/* rgb */ color: rgb(237, 106, 242);
/* oklch */ color: oklch(73.2% 0.226 326.1);
Tailwind
colors: {
  custom: {
    50: '#f69bf7',
    500: '#ed6af2',
    950: '#000000',
  },
}
SCSS
$custom: #ed6af2;
$custom-light: #f69bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed6af2",
  "rgb": {
    "r": 237,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 297.794,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73154,
    "c": 0.22556,
    "h": 326.1
  },
  "luminance": 0.34723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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