#EC7BF0#EC7BF0

#EC7BF0 is a light, vivid purple. Relative luminance 0.383; OKLCH L 75.1% C 0.198 H 326.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#EC7BF0
RGBrgb(236, 123, 240)
HSLhsl(298, 80%, 71%)
HSVhsv(298, 49%, 94%)
CMYKcmyk(1.7%, 48.7%, 0%, 5.9%)
CIE-LABlab(68.24, 59.55, -40.20)
CIE-LCHlch(68.24, 71.85, 325.98°)
OKLaboklab(75.08% 0.1641 -0.1105)
OKLCHoklch(75.08% 0.198 326)
XYZxyz(57.4020, 38.2930, 86.7889)
Luminance0.3829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BF0 #7FF07B
analogous
#B17BF0 #EC7BF0 #F07BB9
triadic
#EC7BF0 #F0EC7B #7BF0EC
tetradic
#EC7BF0 #F0B17B #7FF07B #7BB9F0
square
#EC7BF0 #F0B17B #7FF07B #7BB9F0
split-complementary
#EC7BF0 #B9F07B #7BF0B1
monochromatic
#D219D8 #E444EA #EC7BF0 #F4B2F6 #FBE4FC

Accessibility & contrast

On white

2.43
#EC7BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#EC7BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BF0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BF0#FFFFFF#000000##000000
##EC7BF01.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7bf0;
/* rgb */ color: rgb(236, 123, 240);
/* oklch */ color: oklch(75.1% 0.198 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4a5f5',
    500: '#ec7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bf0;
$custom-light: #f4a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bf0",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 297.949,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75083,
    "c": 0.19783,
    "h": 326
  },
  "luminance": 0.3829
}

Semantic roles & 50–950 ramp

primary
#EC7BF0
secondary
#D5F3D4
accent
#DC0A11
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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