#EC7BF3#EC7BF3

#EC7BF3 is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.2% C 0.201 H 325.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#EC7BF3
RGBrgb(236, 123, 243)
HSLhsl(297, 83%, 72%)
HSVhsv(297, 49%, 95%)
CMYKcmyk(2.9%, 49.4%, 0%, 4.7%)
CIE-LABlab(68.37, 60.08, -41.65)
CIE-LCHlch(68.37, 73.10, 325.27°)
OKLaboklab(75.22% 0.1645 -0.1146)
OKLCHoklch(75.22% 0.201 325.1)
XYZxyz(57.8513, 38.4728, 89.1554)
Luminance0.3847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BF3 #82F37B
analogous
#B07BF3 #EC7BF3 #F37BBE
triadic
#EC7BF3 #F3EC7B #7BF3EC
tetradic
#EC7BF3 #F3B07B #82F37B #7BBEF3
square
#EC7BF3 #F3B07B #82F37B #7BBEF3
split-complementary
#EC7BF3 #BEF37B #7BF3B0
monochromatic
#D314DF #E443EE #EC7BF3 #F4B3F8 #FBE3FC

Accessibility & contrast

On white

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

On black

8.69
#EC7BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BF3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BF3#FFFFFF#000000##000000
##EC7BF31.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#F189AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7bf3;
/* rgb */ color: rgb(236, 123, 243);
/* oklch */ color: oklch(75.2% 0.201 325.1);
Tailwind
colors: {
  custom: {
    50: '#f4a5f7',
    500: '#ec7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bf3;
$custom-light: #f4a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bf3",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 296.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75223,
    "c": 0.20052,
    "h": 325.1
  },
  "luminance": 0.3847
}

Semantic roles & 50–950 ramp

primary
#EC7BF3
secondary
#D7F4D6
accent
#E00612
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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