#E793F2#E793F2

#E793F2 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.1% C 0.158 H 322.7°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#E793F2
RGBrgb(231, 147, 242)
HSLhsl(293, 79%, 76%)
HSVhsv(293, 39%, 95%)
CMYKcmyk(4.5%, 39.3%, 0%, 5.1%)
CIE-LABlab(72.41, 46.45, -34.85)
CIE-LCHlch(72.41, 58.07, 323.12°)
OKLaboklab(78.09% 0.1255 -0.0955)
OKLCHoklch(78.09% 0.158 322.7)
XYZxyz(59.4140, 44.2694, 89.4023)
Luminance0.4427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E793F2 #9EF293
analogous
#B893F2 #E793F2 #F293CE
triadic
#E793F2 #F2E793 #93F2E7
tetradic
#E793F2 #F2B893 #9EF293 #93CEF2
square
#E793F2 #F2B893 #9EF293 #93CEF2
split-complementary
#E793F2 #CEF293 #93F2B8
monochromatic
#CF26E5 #DB5CEB #E793F2 #F3CAF9 #F9E4FC

Accessibility & contrast

On white

2.13
#E793F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#E793F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E793F2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E793F2#FFFFFF#000000##000000
##E793F21.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#EA9EB7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e793f2;
/* rgb */ color: rgb(231, 147, 242);
/* oklch */ color: oklch(78.1% 0.158 322.7);
Tailwind
colors: {
  custom: {
    50: '#f0b4f6',
    500: '#e793f2',
    950: '#000000',
  },
}
SCSS
$custom: #e793f2;
$custom-light: #f0b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e793f2",
  "rgb": {
    "r": 231,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 293.053,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.15767,
    "h": 322.7
  },
  "luminance": 0.44267
}

Semantic roles & 50–950 ramp

primary
#E793F2
secondary
#DBF4D7
accent
#DB0B23
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #E793F2

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

Preview Lab → · Contrast checker → · Palette generator →

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