#EC8BFB#EC8BFB

#EC8BFB is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.8% C 0.183 H 322.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#EC8BFB
RGBrgb(236, 139, 251)
HSLhsl(292, 93%, 76%)
HSVhsv(292, 45%, 98%)
CMYKcmyk(6%, 44.6%, 0%, 1.6%)
CIE-LABlab(71.73, 53.67, -40.76)
CIE-LCHlch(71.73, 67.40, 322.79°)
OKLaboklab(77.84% 0.1441 -0.1122)
OKLCHoklch(77.84% 0.183 322.1)
XYZxyz(61.2354, 43.2656, 96.3736)
Luminance0.4326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BFB #9AFB8B
analogous
#B48BFB #EC8BFB #FB8BD2
triadic
#EC8BFB #FBEC8B #8BFBEC
tetradic
#EC8BFB #FBB48B #9AFB8B #8BD2FB
square
#EC8BFB #FBB48B #9AFB8B #8BD2FB
split-complementary
#EC8BFB #D2FB8B #8BFBB4
monochromatic
#D915F7 #E250F9 #EC8BFB #F6C6FD #FAE1FE

Accessibility & contrast

On white

2.18
#EC8BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#EC8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BFB
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BFB#FFFFFF#000000##000000
##EC8BFB1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#EF99B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8bfb;
/* rgb */ color: rgb(236, 139, 251);
/* oklch */ color: oklch(77.8% 0.183 322.1);
Tailwind
colors: {
  custom: {
    50: '#f4affd',
    500: '#ec8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bfb;
$custom-light: #f4affd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bfb",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 291.964,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77836,
    "c": 0.1826,
    "h": 322.1
  },
  "luminance": 0.43263
}

Semantic roles & 50–950 ramp

primary
#EC8BFB
secondary
#D9F6D5
accent
#E6001F
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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