#EC6BF2#EC6BF2

#EC6BF2 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.1% C 0.224 H 325.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#EC6BF2
RGBrgb(236, 107, 242)
HSLhsl(297, 84%, 68%)
HSVhsv(297, 56%, 95%)
CMYKcmyk(2.5%, 55.8%, 0%, 5.1%)
CIE-LABlab(65.56, 67.29, -45.50)
CIE-LCHlch(65.56, 81.23, 325.94°)
OKLaboklab(73.15% 0.185 -0.1256)
OKLCHoklch(73.15% 0.224 325.8)
XYZxyz(55.8756, 34.7623, 87.7539)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6BF2 #71F26B
analogous
#A86BF2 #EC6BF2 #F26BB4
triadic
#EC6BF2 #F2EC6B #6BF2EC
tetradic
#EC6BF2 #F2A86B #71F26B #6BB4F2
square
#EC6BF2 #F2A86B #71F26B #6BB4F2
split-complementary
#EC6BF2 #B4F26B #6BF2A8
monochromatic
#C812D0 #E533ED #EC6BF2 #F3A3F7 #FADCFC

Accessibility & contrast

On white

2.64
#EC6BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#EC6BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6BF2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6BF2#FFFFFF#000000##000000
##EC6BF21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#84A5EE
Tritanopia (blue-blind)
#F17CA5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec6bf2;
/* rgb */ color: rgb(236, 107, 242);
/* oklch */ color: oklch(73.1% 0.224 325.8);
Tailwind
colors: {
  custom: {
    50: '#f59bf7',
    500: '#ec6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ec6bf2;
$custom-light: #f59bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6bf2",
  "rgb": {
    "r": 236,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 297.333,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73146,
    "c": 0.22359,
    "h": 325.8
  },
  "luminance": 0.34759
}

Semantic roles & 50–950 ramp

primary
#EC6BF2
secondary
#CAF1C8
accent
#E0050F
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170F17
muted
#857E85

Preview Lab

Preview with #EC6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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