#E38BFB#E38BFB

#E38BFB is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.8% C 0.178 H 318.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#E38BFB
RGBrgb(227, 139, 251)
HSLhsl(287, 93%, 76%)
HSVhsv(287, 45%, 98%)
CMYKcmyk(9.6%, 44.6%, 0%, 1.6%)
CIE-LABlab(70.71, 51.14, -42.44)
CIE-LCHlch(70.71, 66.46, 320.31°)
OKLaboklab(76.85% 0.1338 -0.1172)
OKLCHoklch(76.85% 0.178 318.8)
XYZxyz(58.3214, 41.7631, 96.2370)
Luminance0.4176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38BFB #A3FB8B
analogous
#AB8BFB #E38BFB #FB8BDB
triadic
#E38BFB #FBE38B #8BFBE3
tetradic
#E38BFB #FBAB8B #A3FB8B #8BDBFB
square
#E38BFB #FBAB8B #A3FB8B #8BDBFB
split-complementary
#E38BFB #DBFB8B #8BFBAB
monochromatic
#C615F7 #D550F9 #E38BFB #F1C6FD #F8E1FE

Accessibility & contrast

On white

2.25
#E38BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#E38BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38BFB
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38BFB#FFFFFF#000000##000000
##E38BFB1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#E49AB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e38bfb;
/* rgb */ color: rgb(227, 139, 251);
/* oklch */ color: oklch(76.8% 0.178 318.8);
Tailwind
colors: {
  custom: {
    50: '#eeaffd',
    500: '#e38bfb',
    950: '#000000',
  },
}
SCSS
$custom: #e38bfb;
$custom-light: #eeaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#e38bfb",
  "rgb": {
    "r": 227,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 287.143,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76846,
    "c": 0.17791,
    "h": 318.8
  },
  "luminance": 0.41761
}

Semantic roles & 50–950 ramp

primary
#E38BFB
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #E38BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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