#EC7BED#EC7BED

#EC7BED is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.9% C 0.195 H 327.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#EC7BED
RGBrgb(236, 123, 237)
HSLhsl(299, 76%, 71%)
HSVhsv(299, 48%, 93%)
CMYKcmyk(0.4%, 48.1%, 0%, 7.1%)
CIE-LABlab(68.11, 59.02, -38.75)
CIE-LCHlch(68.11, 70.61, 326.71°)
OKLaboklab(74.94% 0.1636 -0.1063)
OKLCHoklch(74.94% 0.195 327)
XYZxyz(56.9601, 38.1163, 84.4613)
Luminance0.3811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BED #7CED7B
analogous
#B37BED #EC7BED #ED7BB5
triadic
#EC7BED #EDEC7B #7BEDEC
tetradic
#EC7BED #EDB37B #7CED7B #7BB5ED
square
#EC7BED #EDB37B #7CED7B #7BB5ED
split-complementary
#EC7BED #B5ED7B #7BEDB3
monochromatic
#D01DD1 #E445E6 #EC7BED #F4B1F4 #FBE4FB

Accessibility & contrast

On white

2.44
#EC7BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#EC7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BED
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BED#FFFFFF#000000##000000
##EC7BED1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF1
Deuteranopia (green-blind)
#92ABEA
Tritanopia (blue-blind)
#F287A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7bed;
/* rgb */ color: rgb(236, 123, 237);
/* oklch */ color: oklch(74.9% 0.195 327.0);
Tailwind
colors: {
  custom: {
    50: '#f4a5f3',
    500: '#ec7bed',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bed;
$custom-light: #f4a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bed",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 299.474,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74945,
    "c": 0.19515,
    "h": 327
  },
  "luminance": 0.38113
}

Semantic roles & 50–950 ramp

primary
#EC7BED
secondary
#D3F1D2
accent
#D80D0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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