#EC2BE7#EC2BE7

#EC2BE7 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 67.1% C 0.285 H 329.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#EC2BE7
RGBrgb(236, 43, 231)
HSLhsl(302, 84%, 55%)
HSVhsv(302, 82%, 93%)
CMYKcmyk(0%, 81.8%, 2.1%, 7.5%)
CIE-LABlab(57.40, 86.93, -52.29)
CIE-LCHlch(57.40, 101.44, 328.97°)
OKLaboklab(67.08% 0.2451 -0.1449)
OKLCHoklch(67.08% 0.285 329.4)
XYZxyz(49.8794, 25.3341, 77.8487)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC2BE7 #2BEC30
analogous
#902BEC #EC2BE7 #EC2B87
triadic
#EC2BE7 #E7EC2B #2BE7EC
tetradic
#EC2BE7 #EC902B #2BEC30 #2B87EC
square
#EC2BE7 #EC902B #2BEC30 #2B87EC
split-complementary
#EC2BE7 #87EC2B #2BEC90
monochromatic
#900D8C #C812C3 #EC2BE7 #F163ED #F69BF4

Accessibility & contrast

On white

3.46
#EC2BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#EC2BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC2BE7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC2BE7#FFFFFF#000000##000000
##EC2BE71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#6B92E3
Tritanopia (blue-blind)
#F44D8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec2be7;
/* rgb */ color: rgb(236, 43, 231);
/* oklch */ color: oklch(67.1% 0.285 329.4);
Tailwind
colors: {
  custom: {
    50: '#f77eef',
    500: '#ec2be7',
    950: '#000000',
  },
}
SCSS
$custom: #ec2be7;
$custom-light: #f77eef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec2be7",
  "rgb": {
    "r": 236,
    "g": 43,
    "b": 231
  },
  "hsl": {
    "h": 301.554,
    "s": 83.55,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67084,
    "c": 0.28469,
    "h": 329.4
  },
  "luminance": 0.2533
}

Semantic roles & 50–950 ramp

primary
#EC2BE7
secondary
#91E293
accent
#FA332E
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #EC2BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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