#EC95EC#EC95EC

#EC95EC is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.7% C 0.151 H 326.9°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#EC95EC
RGBrgb(236, 149, 236)
HSLhsl(300, 70%, 75%)
HSVhsv(300, 37%, 93%)
CMYKcmyk(0%, 36.9%, 0%, 7.5%)
CIE-LABlab(73.15, 45.81, -30.39)
CIE-LCHlch(73.15, 54.97, 326.43°)
OKLaboklab(78.69% 0.1269 -0.0827)
OKLCHoklch(78.69% 0.152 326.9)
XYZxyz(60.4786, 45.3865, 84.9154)
Luminance0.4538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC95EC #95EC95
analogous
#C095EC #EC95EC #EC95C0
triadic
#EC95EC #ECEC95 #95ECEC
tetradic
#EC95EC #ECC095 #95EC95 #95C0EC
square
#EC95EC #ECC095 #95EC95 #95C0EC
split-complementary
#EC95EC #C0EC95 #95ECC0
monochromatic
#D92DD9 #E361E3 #EC95EC #F5C9F5 #FAE5FA

Accessibility & contrast

On white

2.08
#EC95EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#EC95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC95EC
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC95EC#FFFFFF#000000##000000
##EC95EC1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADEF
Deuteranopia (green-blind)
#A5B8E9
Tritanopia (blue-blind)
#F19DB6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec95ec;
/* rgb */ color: rgb(236, 149, 236);
/* oklch */ color: oklch(78.7% 0.151 326.9);
Tailwind
colors: {
  custom: {
    50: '#f3b6f2',
    500: '#ec95ec',
    950: '#000000',
  },
}
SCSS
$custom: #ec95ec;
$custom-light: #f3b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec95ec",
  "rgb": {
    "r": 236,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78694,
    "c": 0.1515,
    "h": 326.9
  },
  "luminance": 0.45384
}

Semantic roles & 50–950 ramp

primary
#EC95EC
secondary
#D9F2D9
accent
#D21414
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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