#EC7BFB#EC7BFB

#EC7BFB is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.208 H 322.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#EC7BFB
RGBrgb(236, 123, 251)
HSLhsl(293, 94%, 73%)
HSVhsv(293, 51%, 98%)
CMYKcmyk(6%, 51%, 0%, 1.6%)
CIE-LABlab(68.73, 61.53, -45.47)
CIE-LCHlch(68.73, 76.50, 323.53°)
OKLaboklab(75.61% 0.1656 -0.1257)
OKLCHoklch(75.61% 0.208 322.8)
XYZxyz(59.0858, 38.9666, 95.6571)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BFB #8AFB7B
analogous
#AC7BFB #EC7BFB #FB7BCA
triadic
#EC7BFB #FBEC7B #7BFBEC
tetradic
#EC7BFB #FBAC7B #8AFB7B #7BCAFB
square
#EC7BFB #FBAC7B #8AFB7B #7BCAFB
split-complementary
#EC7BFB #CAFB7B #7BFBAC
monochromatic
#D807F4 #E340F9 #EC7BFB #F5B6FD #FBE1FE

Accessibility & contrast

On white

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

On black

8.79
#EC7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BFB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BFB#FFFFFF#000000##000000
##EC7BFB1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#EF8CB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7bfb;
/* rgb */ color: rgb(236, 123, 251);
/* oklch */ color: oklch(75.6% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#f5a5fd',
    500: '#ec7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bfb;
$custom-light: #f5a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bfb",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 292.969,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75606,
    "c": 0.20784,
    "h": 322.8
  },
  "luminance": 0.38964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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