#E398DF#E398DF

#E398DF is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.7% C 0.128 H 328.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#E398DF
RGBrgb(227, 152, 223)
HSLhsl(303, 57%, 74%)
HSVhsv(303, 33%, 89%)
CMYKcmyk(0%, 33%, 1.8%, 11%)
CIE-LABlab(72.31, 39.09, -24.65)
CIE-LCHlch(72.31, 46.22, 327.77°)
OKLaboklab(77.68% 0.1092 -0.0667)
OKLCHoklch(77.68% 0.128 328.6)
XYZxyz(56.2250, 44.1173, 75.3516)
Luminance0.4411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398DF #98E39C
analogous
#C298E3 #E398DF #E398BA
triadic
#E398DF #DFE398 #98DFE3
tetradic
#E398DF #E3C298 #98E39C #98BAE3
square
#E398DF #E3C298 #98E39C #98BAE3
split-complementary
#E398DF #BAE398 #98E3C2
monochromatic
#C938C1 #D668D0 #E398DF #F0C8EE #F8E7F8

Accessibility & contrast

On white

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

On black

9.82
#E398DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398DF
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398DF#FFFFFF#000000##000000
##E398DF1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ABE2
Deuteranopia (green-blind)
#A7B5DC
Tritanopia (blue-blind)
#E89EB2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e398df;
/* rgb */ color: rgb(227, 152, 223);
/* oklch */ color: oklch(77.7% 0.128 328.6);
Tailwind
colors: {
  custom: {
    50: '#edb7e9',
    500: '#e398df',
    950: '#000000',
  },
}
SCSS
$custom: #e398df;
$custom-light: #edb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e398df",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 303.2,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77683,
    "c": 0.12794,
    "h": 328.6
  },
  "luminance": 0.44115
}

Semantic roles & 50–950 ramp

primary
#E398DF
secondary
#DBF0DC
accent
#C52921
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E398DF

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

Preview Lab → · Contrast checker → · Palette generator →

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