#E792F2#E792F2

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

Color values

HEX#E792F2
RGBrgb(231, 146, 242)
HSLhsl(293, 79%, 76%)
HSVhsv(293, 40%, 95%)
CMYKcmyk(4.5%, 39.7%, 0%, 5.1%)
CIE-LABlab(72.20, 46.97, -35.17)
CIE-LCHlch(72.20, 58.68, 323.17°)
OKLaboklab(77.94% 0.1269 -0.0964)
OKLCHoklch(77.94% 0.159 322.8)
XYZxyz(59.2592, 43.9597, 89.3507)
Luminance0.4396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792F2 #9DF292
analogous
#B792F2 #E792F2 #F292CD
triadic
#E792F2 #F2E792 #92F2E7
tetradic
#E792F2 #F2B792 #9DF292 #92CDF2
square
#E792F2 #F2B792 #9DF292 #92CDF2
split-complementary
#E792F2 #CDF292 #92F2B7
monochromatic
#CF25E5 #DB5BEB #E792F2 #F3C9F9 #F9E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E792F2#FFFFFF#000000##000000
##E792F21.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)
#87ABF5
Deuteranopia (green-blind)
#9DB4EF
Tritanopia (blue-blind)
#EA9DB7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e792f2;
/* rgb */ color: rgb(231, 146, 242);
/* oklch */ color: oklch(77.9% 0.159 322.8);
Tailwind
colors: {
  custom: {
    50: '#f0b4f6',
    500: '#e792f2',
    950: '#000000',
  },
}
SCSS
$custom: #e792f2;
$custom-light: #f0b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e792f2",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 242
  },
  "hsl": {
    "h": 293.125,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77938,
    "c": 0.15935,
    "h": 322.8
  },
  "luminance": 0.43957
}

Semantic roles & 50–950 ramp

primary
#E792F2
secondary
#DBF4D7
accent
#DB0B22
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #E792F2

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

Preview Lab → · Contrast checker → · Palette generator →

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