#EC7CF2#EC7CF2

#EC7CF2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.3% C 0.198 H 325.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#EC7CF2
RGBrgb(236, 124, 242)
HSLhsl(297, 82%, 72%)
HSVhsv(297, 49%, 95%)
CMYKcmyk(2.5%, 48.8%, 0%, 5.1%)
CIE-LABlab(68.51, 59.42, -40.88)
CIE-LCHlch(68.51, 72.13, 325.47°)
OKLaboklab(75.31% 0.1631 -0.1124)
OKLCHoklch(75.31% 0.198 325.4)
XYZxyz(57.8254, 38.6619, 88.4038)
Luminance0.3866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CF2 #82F27C
analogous
#B17CF2 #EC7CF2 #F27CBD
triadic
#EC7CF2 #F2EC7C #7CF2EC
tetradic
#EC7CF2 #F2B17C #82F27C #7CBDF2
square
#EC7CF2 #F2B17C #82F27C #7CBDF2
split-complementary
#EC7CF2 #BDF27C #7CF2B1
monochromatic
#D316DE #E444EC #EC7CF2 #F4B4F8 #FBE3FC

Accessibility & contrast

On white

2.41
#EC7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#EC7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CF2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CF2#FFFFFF#000000##000000
##EC7CF21.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#90ACEE
Tritanopia (blue-blind)
#F18AAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7cf2;
/* rgb */ color: rgb(236, 124, 242);
/* oklch */ color: oklch(75.3% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#f4a6f6',
    500: '#ec7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cf2;
$custom-light: #f4a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cf2",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 296.949,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75311,
    "c": 0.19807,
    "h": 325.4
  },
  "luminance": 0.38659
}

Semantic roles & 50–950 ramp

primary
#EC7CF2
secondary
#D7F4D6
accent
#DE0712
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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