#E2A7FB#E2A7FB

#E2A7FB is a light, vivid purple. Relative luminance 0.508; OKLCH L 81.2% C 0.131 H 315.5°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#E2A7FB
RGBrgb(226, 167, 251)
HSLhsl(282, 91%, 82%)
HSVhsv(282, 33%, 98%)
CMYKcmyk(10%, 33.5%, 0%, 1.6%)
CIE-LABlab(76.54, 36.13, -33.38)
CIE-LCHlch(76.54, 49.19, 317.26°)
OKLaboklab(81.21% 0.0932 -0.0915)
OKLCHoklch(81.21% 0.131 315.5)
XYZxyz(62.5927, 50.7725, 97.7508)
Luminance0.5077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A7FB #C0FBA7
analogous
#B8A7FB #E2A7FB #FBA7EA
triadic
#E2A7FB #FBE2A7 #A7FBE2
tetradic
#E2A7FB #FBB8A7 #C0FBA7 #A7EAFB
square
#E2A7FB #FBB8A7 #C0FBA7 #A7EAFB
split-complementary
#E2A7FB #EAFBA7 #A7FBB8
monochromatic
#BB32F6 #CF6CF8 #E2A7FB #F5E2FE #F5E2FE

Accessibility & contrast

On white

1.88
#E2A7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#E2A7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A7FB
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A7FB#FFFFFF#000000##000000
##E2A7FB1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FE
Deuteranopia (green-blind)
#A8BFF8
Tritanopia (blue-blind)
#E1B2C6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2a7fb;
/* rgb */ color: rgb(226, 167, 251);
/* oklch */ color: oklch(81.2% 0.131 315.5);
Tailwind
colors: {
  custom: {
    50: '#ecc2fd',
    500: '#e2a7fb',
    950: '#000000',
  },
}
SCSS
$custom: #e2a7fb;
$custom-light: #ecc2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a7fb",
  "rgb": {
    "r": 226,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 282.143,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81214,
    "c": 0.1306,
    "h": 315.5
  },
  "luminance": 0.50771
}

Semantic roles & 50–950 ramp

primary
#E2A7FB
secondary
#8BDE68
accent
#E60044
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161217
muted
#858285

Preview Lab

Preview with #E2A7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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