#E7C2FF#E7C2FF

#E7C2FF is a very light, moderate violet. Relative luminance 0.628; OKLCH L 86.6% C 0.091 H 311.8°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#E7C2FF
RGBrgb(231, 194, 255)
HSLhsl(276, 100%, 88%)
HSVhsv(276, 24%, 100%)
CMYKcmyk(9.4%, 23.9%, 0%, 0%)
CIE-LABlab(83.33, 24.00, -25.07)
CIE-LCHlch(83.33, 34.71, 313.75°)
OKLaboklab(86.56% 0.061 -0.0682)
OKLCHoklch(86.56% 0.092 311.8)
XYZxyz(70.2938, 62.7932, 103.0056)
Luminance0.6279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C2FF #DAFFC2
analogous
#C8C2FF #E7C2FF #FFC2F9
triadic
#E7C2FF #FFE7C2 #C2FFE7
tetradic
#E7C2FF #FFC8C2 #DAFFC2 #C2F9FF
square
#E7C2FF #FFC8C2 #DAFFC2 #C2F9FF
split-complementary
#E7C2FF #F9FFC2 #C2FFC8
monochromatic
#B748FF #CF85FF #E7C2FF #F3E0FF #F3E0FF

Accessibility & contrast

On white

1.55
#E7C2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#E7C2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C2FF
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C2FF#FFFFFF#000000##000000
##E7C2FF1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9CEFF
Deuteranopia (green-blind)
#C0D0FD
Tritanopia (blue-blind)
#E5C9D7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7c2ff;
/* rgb */ color: rgb(231, 194, 255);
/* oklch */ color: oklch(86.6% 0.091 311.8);
Tailwind
colors: {
  custom: {
    50: '#efd4ff',
    500: '#e7c2ff',
    950: '#000000',
  },
}
SCSS
$custom: #e7c2ff;
$custom-light: #efd4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c2ff",
  "rgb": {
    "r": 231,
    "g": 194,
    "b": 255
  },
  "hsl": {
    "h": 276.393,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.86564,
    "c": 0.0915,
    "h": 311.8
  },
  "luminance": 0.62792
}

Semantic roles & 50–950 ramp

primary
#E7C2FF
secondary
#A7E87D
accent
#E6005A
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#161418
muted
#858386

Preview Lab

Preview with #E7C2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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