#E790FC#E790FC

#E790FC is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.1% C 0.173 H 319.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#E790FC
RGBrgb(231, 144, 252)
HSLhsl(288, 95%, 78%)
HSVhsv(288, 43%, 99%)
CMYKcmyk(8.3%, 42.9%, 0%, 1.2%)
CIE-LABlab(72.21, 49.90, -40.61)
CIE-LCHlch(72.21, 64.34, 320.86°)
OKLaboklab(78.08% 0.1316 -0.1119)
OKLCHoklch(78.08% 0.173 319.6)
XYZxyz(60.4967, 43.9658, 97.3761)
Luminance0.4396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E790FC #A5FC90
analogous
#B190FC #E790FC #FC90DB
triadic
#E790FC #FCE790 #90FCE7
tetradic
#E790FC #FCB190 #A5FC90 #90DBFC
square
#E790FC #FCB190 #A5FC90 #90DBFC
split-complementary
#E790FC #DBFC90 #90FCB1
monochromatic
#CD19F9 #DA54FA #E790FC #F4CCFE #F9E1FE

Accessibility & contrast

On white

2.14
#E790FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#E790FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E790FC
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E790FC#FFFFFF#000000##000000
##E790FC1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#E89EBA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e790fc;
/* rgb */ color: rgb(231, 144, 252);
/* oklch */ color: oklch(78.1% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#f0b2fd',
    500: '#e790fc',
    950: '#000000',
  },
}
SCSS
$custom: #e790fc;
$custom-light: #f0b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e790fc",
  "rgb": {
    "r": 231,
    "g": 144,
    "b": 252
  },
  "hsl": {
    "h": 288.333,
    "s": 94.737,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78077,
    "c": 0.17279,
    "h": 319.6
  },
  "luminance": 0.43964
}

Semantic roles & 50–950 ramp

primary
#E790FC
secondary
#DBF6D5
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E790FC

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

Preview Lab → · Contrast checker → · Palette generator →

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