#EC7BFA#EC7BFA

#EC7BFA is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.6% C 0.207 H 323.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#EC7BFA
RGBrgb(236, 123, 250)
HSLhsl(293, 93%, 73%)
HSVhsv(293, 51%, 98%)
CMYKcmyk(5.6%, 50.8%, 0%, 2%)
CIE-LABlab(68.68, 61.34, -44.99)
CIE-LCHlch(68.68, 76.08, 323.74°)
OKLaboklab(75.56% 0.1654 -0.1243)
OKLCHoklch(75.56% 0.207 323.1)
XYZxyz(58.9286, 38.9037, 94.8291)
Luminance0.3890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BFA #89FA7B
analogous
#AC7BFA #EC7BFA #FA7BC8
triadic
#EC7BFA #FAEC7B #7BFAEC
tetradic
#EC7BFA #FAAC7B #89FA7B #7BC8FA
square
#EC7BFA #FAAC7B #89FA7B #7BC8FA
split-complementary
#EC7BFA #C8FA7B #7BFAAC
monochromatic
#D809F1 #E440F8 #EC7BFA #F4B6FC #FBE2FE

Accessibility & contrast

On white

2.39
#EC7BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#EC7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BFA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BFA#FFFFFF#000000##000000
##EC7BFA1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#8CACF6
Tritanopia (blue-blind)
#EF8BB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7bfa;
/* rgb */ color: rgb(236, 123, 250);
/* oklch */ color: oklch(75.6% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#f5a5fc',
    500: '#ec7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bfa;
$custom-light: #f5a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bfa",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 293.386,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75558,
    "c": 0.20692,
    "h": 323.1
  },
  "luminance": 0.38901
}

Semantic roles & 50–950 ramp

primary
#EC7BFA
secondary
#D9F6D5
accent
#E60019
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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