#E790FA#E790FA

#E790FA is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.0% C 0.171 H 320.3°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#E790FA
RGBrgb(231, 144, 250)
HSLhsl(289, 91%, 77%)
HSVhsv(289, 42%, 98%)
CMYKcmyk(7.6%, 42.4%, 0%, 2%)
CIE-LABlab(72.12, 49.52, -39.66)
CIE-LCHlch(72.12, 63.44, 321.31°)
OKLaboklab(77.99% 0.1313 -0.1092)
OKLCHoklch(77.99% 0.171 320.3)
XYZxyz(60.1814, 43.8397, 95.7157)
Luminance0.4384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E790FA #A3FA90
analogous
#B290FA #E790FA #FA90D8
triadic
#E790FA #FAE790 #90FAE7
tetradic
#E790FA #FAB290 #A3FA90 #90D8FA
square
#E790FA #FAB290 #A3FA90 #90D8FA
split-complementary
#E790FA #D8FA90 #90FAB2
monochromatic
#CE1BF5 #DA55F7 #E790FA #F4CBFD #F9E2FE

Accessibility & contrast

On white

2.15
#E790FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#E790FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E790FA
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E790FA#FFFFFF#000000##000000
##E790FA1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#E99DB9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e790fa;
/* rgb */ color: rgb(231, 144, 250);
/* oklch */ color: oklch(78.0% 0.171 320.3);
Tailwind
colors: {
  custom: {
    50: '#f0b2fc',
    500: '#e790fa',
    950: '#000000',
  },
}
SCSS
$custom: #e790fa;
$custom-light: #f0b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e790fa",
  "rgb": {
    "r": 231,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 289.245,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77986,
    "c": 0.17075,
    "h": 320.3
  },
  "luminance": 0.43838
}

Semantic roles & 50–950 ramp

primary
#E790FA
secondary
#DBF6D5
accent
#E60029
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E790FA

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

Preview Lab → · Contrast checker → · Palette generator →

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