#E2C8FF#E2C8FF

#E2C8FF is a very light, moderate violet. Relative luminance 0.647; OKLCH L 87.2% C 0.080 H 306.3°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#E2C8FF
RGBrgb(226, 200, 255)
HSLhsl(268, 100%, 89%)
HSVhsv(268, 22%, 100%)
CMYKcmyk(11.4%, 21.6%, 0%, 0%)
CIE-LABlab(84.33, 19.23, -23.60)
CIE-LCHlch(84.33, 30.44, 309.17°)
OKLaboklab(87.23% 0.0471 -0.0641)
OKLCHoklch(87.23% 0.08 306.3)
XYZxyz(70.0650, 64.6976, 103.3851)
Luminance0.6470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C8FF #E5FFC8
analogous
#C8CAFF #E2C8FF #FEC8FF
triadic
#E2C8FF #FFE2C8 #C8FFE2
tetradic
#E2C8FF #FFC8CA #E5FFC8 #C8FFFE
square
#E2C8FF #FFC8CA #E5FFC8 #C8FFFE
split-complementary
#E2C8FF #FFFEC8 #CAFFC8
monochromatic
#A14EFF #C28BFF #E2C8FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

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

On black

13.94
#E2C8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C8FF
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C8FF#FFFFFF#000000##000000
##E2C8FF1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFD1FF
Deuteranopia (green-blind)
#C3D3FD
Tritanopia (blue-blind)
#DECFDB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2c8ff;
/* rgb */ color: rgb(226, 200, 255);
/* oklch */ color: oklch(87.2% 0.080 306.3);
Tailwind
colors: {
  custom: {
    50: '#ebd8ff',
    500: '#e2c8ff',
    950: '#000000',
  },
}
SCSS
$custom: #e2c8ff;
$custom-light: #ebd8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c8ff",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 255
  },
  "hsl": {
    "h": 268.364,
    "s": 100,
    "l": 89.216
  },
  "oklch": {
    "l": 0.87228,
    "c": 0.07955,
    "h": 306.3
  },
  "luminance": 0.64697
}

Semantic roles & 50–950 ramp

primary
#E2C8FF
secondary
#B8E982
accent
#E60079
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #E2C8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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