#EC7FF1#EC7FF1

#EC7FF1 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.7% C 0.192 H 325.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#EC7FF1
RGBrgb(236, 127, 241)
HSLhsl(297, 80%, 72%)
HSVhsv(297, 47%, 95%)
CMYKcmyk(2.1%, 47.3%, 0%, 5.5%)
CIE-LABlab(69.02, 57.79, -39.54)
CIE-LCHlch(69.02, 70.02, 325.62°)
OKLaboklab(75.67% 0.1589 -0.1086)
OKLCHoklch(75.67% 0.192 325.6)
XYZxyz(58.0574, 39.3654, 87.7422)
Luminance0.3936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FF1 #84F17F
analogous
#B37FF1 #EC7FF1 #F17FBD
triadic
#EC7FF1 #F1EC7F #7FF1EC
tetradic
#EC7FF1 #F1B37F #84F17F #7FBDF1
square
#EC7FF1 #F1B37F #84F17F #7FBDF1
split-complementary
#EC7FF1 #BDF17F #7FF1B3
monochromatic
#D518DD #E448EB #EC7FF1 #F4B6F7 #FBE3FC

Accessibility & contrast

On white

2.37
#EC7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#EC7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FF1
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FF1#FFFFFF#000000##000000
##EC7FF11.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F5
Deuteranopia (green-blind)
#93ADEE
Tritanopia (blue-blind)
#F18CAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7ff1;
/* rgb */ color: rgb(236, 127, 241);
/* oklch */ color: oklch(75.7% 0.192 325.6);
Tailwind
colors: {
  custom: {
    50: '#f4a8f6',
    500: '#ec7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ff1;
$custom-light: #f4a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ff1",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 297.368,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75674,
    "c": 0.19244,
    "h": 325.6
  },
  "luminance": 0.39362
}

Semantic roles & 50–950 ramp

primary
#EC7FF1
secondary
#D8F4D7
accent
#DD0912
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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