#EC35F2#EC35F2

#EC35F2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 68.3% C 0.285 H 326.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#EC35F2
RGBrgb(236, 53, 242)
HSLhsl(298, 88%, 58%)
HSVhsv(298, 78%, 95%)
CMYKcmyk(2.5%, 78.1%, 0%, 5.1%)
CIE-LABlab(58.78, 86.31, -56.24)
CIE-LCHlch(58.78, 103.02, 326.91°)
OKLaboklab(68.26% 0.2382 -0.1564)
OKLCHoklch(68.26% 0.285 326.7)
XYZxyz(51.8913, 26.7936, 86.4258)
Luminance0.2679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC35F2 #3BF235
analogous
#8D35F2 #EC35F2 #F2359A
triadic
#EC35F2 #F2EC35 #35F2EC
tetradic
#EC35F2 #F28D35 #3BF235 #359AF2
square
#EC35F2 #F28D35 #3BF235 #359AF2
split-complementary
#EC35F2 #9AF235 #35F28D
monochromatic
#9D0AA2 #D50EDC #EC35F2 #F16EF6 #F7A8F9

Accessibility & contrast

On white

3.30
#EC35F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#EC35F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC35F2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC35F2#FFFFFF#000000##000000
##EC35F21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#F25895
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec35f2;
/* rgb */ color: rgb(236, 53, 242);
/* oklch */ color: oklch(68.3% 0.285 326.7);
Tailwind
colors: {
  custom: {
    50: '#f782f7',
    500: '#ec35f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec35f2;
$custom-light: #f782f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec35f2",
  "rgb": {
    "r": 236,
    "g": 53,
    "b": 242
  },
  "hsl": {
    "h": 298.095,
    "s": 87.907,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6826,
    "c": 0.28494,
    "h": 326.7
  },
  "luminance": 0.2679
}

Semantic roles & 50–950 ramp

primary
#EC35F2
secondary
#9EE79B
accent
#FE2A30
background
#FFF8FF
surface
#FFF0FF
border
#D7CBD7
text
#180C17
muted
#867D85

Preview Lab

Preview with #EC35F2

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

Preview Lab → · Contrast checker → · Palette generator →

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