#ECE2FF#ECE2FF

#ECE2FF is a very light, muted violet. Relative luminance 0.794; OKLCH L 92.9% C 0.040 H 301.3°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#ECE2FF
RGBrgb(236, 226, 255)
HSLhsl(261, 100%, 94%)
HSVhsv(261, 11%, 100%)
CMYKcmyk(7.5%, 11.4%, 0%, 0%)
CIE-LABlab(91.44, 8.68, -12.81)
CIE-LCHlch(91.44, 15.47, 304.11°)
OKLaboklab(92.94% 0.0209 -0.0344)
OKLCHoklch(92.94% 0.04 301.3)
XYZxyz(79.8351, 79.4456, 105.7170)
Luminance0.7945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2FF #F5FFE2
analogous
#E2E7FF #ECE2FF #FBE2FF
triadic
#ECE2FF #FFECE2 #E2FFEC
tetradic
#ECE2FF #FFE2E7 #F5FFE2 #E2FFFB
square
#ECE2FF #FFE2E7 #F5FFE2 #E2FFFB
split-complementary
#ECE2FF #FFFBE2 #E7FFE2
monochromatic
#9C68FF #C4A5FF #EBE0FF #EBE0FF #EBE0FF

Accessibility & contrast

On white

1.24
#ECE2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#ECE2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2FF
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2FF#FFFFFF#000000##000000
##ECE2FF1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDE6FF
Deuteranopia (green-blind)
#DFE6FE
Tritanopia (blue-blind)
#E9E6EB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ece2ff;
/* rgb */ color: rgb(236, 226, 255);
/* oklch */ color: oklch(92.9% 0.040 301.3);
Tailwind
colors: {
  custom: {
    50: '#f2ebff',
    500: '#ece2ff',
    950: '#000000',
  },
}
SCSS
$custom: #ece2ff;
$custom-light: #f2ebff;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2ff",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 255
  },
  "hsl": {
    "h": 260.69,
    "s": 100,
    "l": 94.314
  },
  "oklch": {
    "l": 0.92942,
    "c": 0.04027,
    "h": 301.3
  },
  "luminance": 0.79446
}

Semantic roles & 50–950 ramp

primary
#ECE2FF
secondary
#D0ED98
accent
#E60096
background
#FFFEFF
surface
#FEFDFF
border
#D6D5D7
text
#161618
muted
#858486

Preview Lab

Preview with #ECE2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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