#E278FC#E278FC

#E278FC is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.1% C 0.208 H 319.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#E278FC
RGBrgb(226, 120, 252)
HSLhsl(288, 96%, 73%)
HSVhsv(288, 52%, 99%)
CMYKcmyk(10.3%, 52.4%, 0%, 1.2%)
CIE-LABlab(67.00, 60.53, -48.82)
CIE-LCHlch(67.00, 77.76, 321.11°)
OKLaboklab(74.09% 0.1583 -0.1355)
OKLCHoklch(74.09% 0.208 319.4)
XYZxyz(55.6489, 36.6322, 96.2160)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278FC #92FC78
analogous
#A078FC #E278FC #FC78D4
triadic
#E278FC #FCE278 #78FCE2
tetradic
#E278FC #FCA078 #92FC78 #78D4FC
square
#E278FC #FCA078 #92FC78 #78D4FC
split-complementary
#E278FC #D4FC78 #78FCA0
monochromatic
#C505F4 #D53CFB #E278FC #EFB4FD #F9E1FE

Accessibility & contrast

On white

2.52
#E278FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#E278FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278FC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278FC#FFFFFF#000000##000000
##E278FC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#E38BAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e278fc;
/* rgb */ color: rgb(226, 120, 252);
/* oklch */ color: oklch(74.1% 0.208 319.4);
Tailwind
colors: {
  custom: {
    50: '#eea3fe',
    500: '#e278fc',
    950: '#000000',
  },
}
SCSS
$custom: #e278fc;
$custom-light: #eea3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e278fc",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 288.182,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74088,
    "c": 0.20838,
    "h": 319.4
  },
  "luminance": 0.3663
}

Semantic roles & 50–950 ramp

primary
#E278FC
secondary
#DBF7D4
accent
#E6002D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E278FC

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

Preview Lab → · Contrast checker → · Palette generator →

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