#ECE2F8#ECE2F8

#ECE2F8 is a very light, muted violet. Relative luminance 0.790; OKLCH L 92.7% C 0.031 H 306.2°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#ECE2F8
RGBrgb(236, 226, 248)
HSLhsl(267, 61%, 93%)
HSVhsv(267, 9%, 97%)
CMYKcmyk(4.8%, 8.9%, 0%, 2.7%)
CIE-LABlab(91.24, 7.35, -9.45)
CIE-LCHlch(91.24, 11.97, 307.88°)
OKLaboklab(92.72% 0.0185 -0.0253)
OKLCHoklch(92.72% 0.031 306.2)
XYZxyz(78.7288, 79.0030, 99.8903)
Luminance0.7900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2F8 #EEF8E2
analogous
#E2E3F8 #ECE2F8 #F7E2F8
triadic
#ECE2F8 #F8ECE2 #E2F8EC
tetradic
#ECE2F8 #F8E2E3 #EEF8E2 #E2F8F7
square
#ECE2F8 #F8E2E3 #EEF8E2 #E2F8F7
split-complementary
#ECE2F8 #F8F7E2 #E3F8E2
monochromatic
#AB7FE0 #CCB1EC #ECE2F8 #EFE6F9 #EFE6F9

Accessibility & contrast

On white

1.25
#ECE2F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#ECE2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2F8
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2F8#FFFFFF#000000##000000
##ECE2F81.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFE5F9
Deuteranopia (green-blind)
#E0E6F7
Tritanopia (blue-blind)
#EBE5E9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ece2f8;
/* rgb */ color: rgb(236, 226, 248);
/* oklch */ color: oklch(92.7% 0.031 306.2);
Tailwind
colors: {
  custom: {
    50: '#f2ebfa',
    500: '#ece2f8',
    950: '#000000',
  },
}
SCSS
$custom: #ece2f8;
$custom-light: #f2ebfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2f8",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 248
  },
  "hsl": {
    "h": 267.273,
    "s": 61.111,
    "l": 92.941
  },
  "oklch": {
    "l": 0.9272,
    "c": 0.0313,
    "h": 306.2
  },
  "luminance": 0.79003
}

Semantic roles & 50–950 ramp

primary
#ECE2F8
secondary
#C2DAA4
accent
#C91D7B
background
#FFFEFF
surface
#FEFDFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #ECE2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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