#E138D3#E138D3

#E138D3 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 65.1% C 0.256 H 331.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#E138D3
RGBrgb(225, 56, 211)
HSLhsl(305, 74%, 55%)
HSVhsv(305, 75%, 88%)
CMYKcmyk(0%, 75.1%, 6.2%, 11.8%)
CIE-LABlab(55.63, 78.71, -43.89)
CIE-LCHlch(55.63, 90.12, 330.85°)
OKLaboklab(65.14% 0.2256 -0.1208)
OKLCHoklch(65.14% 0.256 331.8)
XYZxyz(44.2235, 23.5427, 63.8304)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E138D3 #38E146
analogous
#9A38E1 #E138D3 #E1387F
triadic
#E138D3 #D3E138 #38D3E1
tetradic
#E138D3 #E19A38 #38E146 #387FE1
square
#E138D3 #E19A38 #38E146 #387FE1
split-complementary
#E138D3 #7FE138 #38E19A
monochromatic
#8A1580 #BF1DB2 #E138D3 #E96DDF #F1A2EB

Accessibility & contrast

On white

3.68
#E138D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#E138D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E138D3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E138D3#FFFFFF#000000##000000
##E138D31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D7
Deuteranopia (green-blind)
#708DCF
Tritanopia (blue-blind)
#EA4D84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e138d3;
/* rgb */ color: rgb(225, 56, 211);
/* oklch */ color: oklch(65.1% 0.256 331.8);
Tailwind
colors: {
  custom: {
    50: '#ef80e1',
    500: '#e138d3',
    950: '#000000',
  },
}
SCSS
$custom: #e138d3;
$custom-light: #ef80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#e138d3",
  "rgb": {
    "r": 225,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 304.97,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.65141,
    "c": 0.25589,
    "h": 331.8
  },
  "luminance": 0.23539
}

Semantic roles & 50–950 ramp

primary
#E138D3
secondary
#97DE9D
accent
#F04737
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E138D3

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

Preview Lab → · Contrast checker → · Palette generator →

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