#E2C8FB#E2C8FB

#E2C8FB is a very light, moderate violet. Relative luminance 0.644; OKLCH L 87.1% C 0.075 H 307.9°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#E2C8FB
RGBrgb(226, 200, 251)
HSLhsl(271, 86%, 88%)
HSVhsv(271, 20%, 98%)
CMYKcmyk(10%, 20.3%, 0%, 1.6%)
CIE-LABlab(84.20, 18.42, -21.67)
CIE-LCHlch(84.20, 28.44, 310.36°)
OKLaboklab(87.08% 0.0458 -0.0588)
OKLCHoklch(87.08% 0.075 307.9)
XYZxyz(69.4278, 64.4427, 100.0292)
Luminance0.6444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C8FB #E1FBC8
analogous
#C8C8FB #E2C8FB #FBC8FB
triadic
#E2C8FB #FBE2C8 #C8FBE2
tetradic
#E2C8FB #FBC8C8 #E1FBC8 #C8FBFB
square
#E2C8FB #FBC8C8 #E1FBC8 #C8FBFB
split-complementary
#E2C8FB #FBFBC8 #C8FBC8
monochromatic
#A656F3 #C48FF7 #E2C8FB #F0E2FD #F0E2FD

Accessibility & contrast

On white

1.51
#E2C8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#E2C8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C8FB
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C8FB#FFFFFF#000000##000000
##E2C8FB1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0D1FD
Deuteranopia (green-blind)
#C5D2F9
Tritanopia (blue-blind)
#DFCED9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2c8fb;
/* rgb */ color: rgb(226, 200, 251);
/* oklch */ color: oklch(87.1% 0.075 307.9);
Tailwind
colors: {
  custom: {
    50: '#ebd8fc',
    500: '#e2c8fb',
    950: '#000000',
  },
}
SCSS
$custom: #e2c8fb;
$custom-light: #ebd8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c8fb",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 251
  },
  "hsl": {
    "h": 270.588,
    "s": 86.441,
    "l": 88.431
  },
  "oklch": {
    "l": 0.87083,
    "c": 0.07452,
    "h": 307.9
  },
  "luminance": 0.64442
}

Semantic roles & 50–950 ramp

primary
#E2C8FB
secondary
#B3E186
accent
#E30371
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #E2C8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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