#EC7BF1#EC7BF1

#EC7BF1 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.1% C 0.199 H 325.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#EC7BF1
RGBrgb(236, 123, 241)
HSLhsl(297, 81%, 71%)
HSVhsv(297, 49%, 95%)
CMYKcmyk(2.1%, 49%, 0%, 5.5%)
CIE-LABlab(68.28, 59.73, -40.68)
CIE-LCHlch(68.28, 72.27, 325.74°)
OKLaboklab(75.13% 0.1642 -0.1119)
OKLCHoklch(75.13% 0.199 325.7)
XYZxyz(57.5510, 38.3526, 87.5734)
Luminance0.3835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BF1 #80F17B
analogous
#B17BF1 #EC7BF1 #F17BBB
triadic
#EC7BF1 #F1EC7B #7BF1EC
tetradic
#EC7BF1 #F1B17B #80F17B #7BBBF1
square
#EC7BF1 #F1B17B #80F17B #7BBBF1
split-complementary
#EC7BF1 #BBF17B #7BF1B1
monochromatic
#D217DA #E444EB #EC7BF1 #F4B2F7 #FBE3FC

Accessibility & contrast

On white

2.42
#EC7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#EC7BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BF1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BF1#FFFFFF#000000##000000
##EC7BF11.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF5
Deuteranopia (green-blind)
#90ABED
Tritanopia (blue-blind)
#F189AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7bf1;
/* rgb */ color: rgb(236, 123, 241);
/* oklch */ color: oklch(75.1% 0.199 325.7);
Tailwind
colors: {
  custom: {
    50: '#f4a5f6',
    500: '#ec7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bf1;
$custom-light: #f4a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bf1",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 297.458,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7513,
    "c": 0.19873,
    "h": 325.7
  },
  "luminance": 0.3835
}

Semantic roles & 50–950 ramp

primary
#EC7BF1
secondary
#D6F3D5
accent
#DD0811
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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