#E2C2FB#E2C2FB

#E2C2FB is a very light, moderate violet. Relative luminance 0.617; OKLCH L 86.0% C 0.085 H 310.0°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#E2C2FB
RGBrgb(226, 194, 251)
HSLhsl(274, 88%, 87%)
HSVhsv(274, 23%, 98%)
CMYKcmyk(10%, 22.7%, 0%, 1.6%)
CIE-LABlab(82.76, 21.63, -23.85)
CIE-LCHlch(82.76, 32.20, 312.21°)
OKLaboklab(85.98% 0.0544 -0.0648)
OKLCHoklch(85.98% 0.085 310)
XYZxyz(68.0654, 61.7179, 99.5751)
Luminance0.6172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C2FB #DBFBC2
analogous
#C6C2FB #E2C2FB #FBC2F8
triadic
#E2C2FB #FBE2C2 #C2FBE2
tetradic
#E2C2FB #FBC6C2 #DBFBC2 #C2F8FB
square
#E2C2FB #FBC6C2 #DBFBC2 #C2F8FB
split-complementary
#E2C2FB #F8FBC2 #C2FBC6
monochromatic
#AB4FF3 #C789F7 #E2C2FB #F1E2FD #F1E2FD

Accessibility & contrast

On white

1.57
#E2C2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#E2C2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C2FB
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C2FB#FFFFFF#000000##000000
##E2C2FB1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9CCFD
Deuteranopia (green-blind)
#BFCFF9
Tritanopia (blue-blind)
#DFC9D6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2c2fb;
/* rgb */ color: rgb(226, 194, 251);
/* oklch */ color: oklch(86.0% 0.085 310.0);
Tailwind
colors: {
  custom: {
    50: '#ebd4fc',
    500: '#e2c2fb',
    950: '#000000',
  },
}
SCSS
$custom: #e2c2fb;
$custom-light: #ebd4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c2fb",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 251
  },
  "hsl": {
    "h": 273.684,
    "s": 87.692,
    "l": 87.255
  },
  "oklch": {
    "l": 0.85976,
    "c": 0.08461,
    "h": 310
  },
  "luminance": 0.61717
}

Semantic roles & 50–950 ramp

primary
#E2C2FB
secondary
#ABE180
accent
#E40165
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #E2C2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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