#E38AFA#E38AFA

#E38AFA is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.6% C 0.179 H 319.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#E38AFA
RGBrgb(227, 138, 250)
HSLhsl(288, 92%, 76%)
HSVhsv(288, 45%, 98%)
CMYKcmyk(9.2%, 44.8%, 0%, 2%)
CIE-LABlab(70.46, 51.46, -42.28)
CIE-LCHlch(70.46, 66.60, 320.59°)
OKLaboklab(76.65% 0.1351 -0.1167)
OKLCHoklch(76.65% 0.179 319.2)
XYZxyz(58.0201, 41.4120, 95.3610)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38AFA #A1FA8A
analogous
#AB8AFA #E38AFA #FA8AD9
triadic
#E38AFA #FAE38A #8AFAE3
tetradic
#E38AFA #FAAB8A #A1FA8A #8AD9FA
square
#E38AFA #FAAB8A #A1FA8A #8AD9FA
split-complementary
#E38AFA #D9FA8A #8AFAAB
monochromatic
#C715F5 #D54FF7 #E38AFA #F1C5FD #F8E2FE

Accessibility & contrast

On white

2.26
#E38AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#E38AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38AFA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38AFA#FFFFFF#000000##000000
##E38AFA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#91AFF7
Tritanopia (blue-blind)
#E499B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e38afa;
/* rgb */ color: rgb(227, 138, 250);
/* oklch */ color: oklch(76.6% 0.179 319.2);
Tailwind
colors: {
  custom: {
    50: '#eeaefc',
    500: '#e38afa',
    950: '#000000',
  },
}
SCSS
$custom: #e38afa;
$custom-light: #eeaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#e38afa",
  "rgb": {
    "r": 227,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 287.679,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7665,
    "c": 0.17853,
    "h": 319.2
  },
  "luminance": 0.4141
}

Semantic roles & 50–950 ramp

primary
#E38AFA
secondary
#DCF6D5
accent
#E6002F
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171017
muted
#857F85

Preview Lab

Preview with #E38AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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