#E138DF#E138DF

#E138DF is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.8% C 0.264 H 328.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#E138DF
RGBrgb(225, 56, 223)
HSLhsl(301, 74%, 55%)
HSVhsv(301, 75%, 88%)
CMYKcmyk(0%, 75.1%, 0.9%, 11.8%)
CIE-LABlab(56.25, 80.51, -49.71)
CIE-LCHlch(56.25, 94.61, 328.31°)
OKLaboklab(65.79% 0.2256 -0.1377)
OKLCHoklch(65.79% 0.264 328.6)
XYZxyz(45.7843, 24.1671, 72.0510)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E138DF #38E13A
analogous
#8E38E1 #E138DF #E1388B
triadic
#E138DF #DFE138 #38DFE1
tetradic
#E138DF #E18E38 #38E13A #388BE1
square
#E138DF #E18E38 #38E13A #388BE1
split-complementary
#E138DF #8BE138 #38E18E
monochromatic
#8A1588 #BF1DBD #E138DF #E96DE8 #F1A2F0

Accessibility & contrast

On white

3.60
#E138DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#E138DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E138DF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E138DF#FFFFFF#000000##000000
##E138DF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1079E3
Deuteranopia (green-blind)
#698EDB
Tritanopia (blue-blind)
#E8538A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e138df;
/* rgb */ color: rgb(225, 56, 223);
/* oklch */ color: oklch(65.8% 0.264 328.6);
Tailwind
colors: {
  custom: {
    50: '#ef81e9',
    500: '#e138df',
    950: '#000000',
  },
}
SCSS
$custom: #e138df;
$custom-light: #ef81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e138df",
  "rgb": {
    "r": 225,
    "g": 56,
    "b": 223
  },
  "hsl": {
    "h": 300.71,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.26431,
    "h": 328.6
  },
  "luminance": 0.24164
}

Semantic roles & 50–950 ramp

primary
#E138DF
secondary
#97DE98
accent
#F03A37
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E138DF

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

Preview Lab → · Contrast checker → · Palette generator →

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