#E7B2FF#E7B2FF

#E7B2FF is a very light, moderate purple. Relative luminance 0.560; OKLCH L 83.7% C 0.119 H 315.0°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#E7B2FF
RGBrgb(231, 178, 255)
HSLhsl(281, 100%, 85%)
HSVhsv(281, 30%, 100%)
CMYKcmyk(9.4%, 30.2%, 0%, 0%)
CIE-LABlab(79.64, 32.56, -30.72)
CIE-LCHlch(79.64, 44.77, 316.67°)
OKLaboklab(83.74% 0.084 -0.0839)
OKLCHoklch(83.74% 0.119 315)
XYZxyz(66.9226, 56.0509, 101.8818)
Luminance0.5605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B2FF #CAFFB2
analogous
#C1B2FF #E7B2FF #FFB2F0
triadic
#E7B2FF #FFE7B2 #B2FFE7
tetradic
#E7B2FF #FFC1B2 #CAFFB2 #B2F0FF
square
#E7B2FF #FFC1B2 #CAFFB2 #B2F0FF
split-complementary
#E7B2FF #F0FFB2 #B2FFC1
monochromatic
#C138FF #D475FF #E7B2FF #F5E0FF #F5E0FF

Accessibility & contrast

On white

1.72
#E7B2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#E7B2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B2FF
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B2FF#FFFFFF#000000##000000
##E7B2FF1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C2FF
Deuteranopia (green-blind)
#B3C7FD
Tritanopia (blue-blind)
#E6BBCE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e7b2ff;
/* rgb */ color: rgb(231, 178, 255);
/* oklch */ color: oklch(83.7% 0.119 315.0);
Tailwind
colors: {
  custom: {
    50: '#efc9ff',
    500: '#e7b2ff',
    950: '#000000',
  },
}
SCSS
$custom: #e7b2ff;
$custom-light: #efc9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b2ff",
  "rgb": {
    "r": 231,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 281.299,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.83736,
    "c": 0.11876,
    "h": 315
  },
  "luminance": 0.5605
}

Semantic roles & 50–950 ramp

primary
#E7B2FF
secondary
#94E670
accent
#E60048
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E7B2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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