#E795F2#E795F2

#E795F2 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.4% C 0.154 H 322.6°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#E795F2
RGBrgb(231, 149, 242)
HSLhsl(293, 78%, 77%)
HSVhsv(293, 38%, 95%)
CMYKcmyk(4.5%, 38.4%, 0%, 5.1%)
CIE-LABlab(72.82, 45.41, -34.21)
CIE-LCHlch(72.82, 56.85, 323.01°)
OKLaboklab(78.41% 0.1226 -0.0936)
OKLCHoklch(78.41% 0.154 322.6)
XYZxyz(59.7277, 44.8968, 89.5069)
Luminance0.4490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E795F2 #A0F295
analogous
#B995F2 #E795F2 #F295CF
triadic
#E795F2 #F2E795 #95F2E7
tetradic
#E795F2 #F2B995 #A0F295 #95CFF2
square
#E795F2 #F2B995 #A0F295 #95CFF2
split-complementary
#E795F2 #CFF295 #95F2B9
monochromatic
#CE28E5 #DB5EEB #E795F2 #F3CCF9 #F9E4FC

Accessibility & contrast

On white

2.10
#E795F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#E795F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E795F2
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E795F2#FFFFFF#000000##000000
##E795F21.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#EA9FB8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e795f2;
/* rgb */ color: rgb(231, 149, 242);
/* oklch */ color: oklch(78.4% 0.154 322.6);
Tailwind
colors: {
  custom: {
    50: '#f0b6f6',
    500: '#e795f2',
    950: '#000000',
  },
}
SCSS
$custom: #e795f2;
$custom-light: #f0b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e795f2",
  "rgb": {
    "r": 231,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 292.903,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78406,
    "c": 0.15429,
    "h": 322.6
  },
  "luminance": 0.44895
}

Semantic roles & 50–950 ramp

primary
#E795F2
secondary
#DBF3D8
accent
#DA0B24
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #E795F2

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

Preview Lab → · Contrast checker → · Palette generator →

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