#F2ECF8#F2ECF8

#F2ECF8 is a very light, near-neutral violet. Relative luminance 0.856; OKLCH L 95.1% C 0.017 H 308.3°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#F2ECF8
RGBrgb(242, 236, 248)
HSLhsl(270, 46%, 95%)
HSVhsv(270, 5%, 97%)
CMYKcmyk(2.4%, 4.8%, 0%, 2.7%)
CIE-LABlab(94.16, 4.14, -5.07)
CIE-LCHlch(94.16, 6.55, 309.28°)
OKLaboklab(95.12% 0.0106 -0.0135)
OKLCHoklch(95.12% 0.017 308.3)
XYZxyz(83.5538, 85.6456, 100.9182)
Luminance0.8565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECF8 #F2F8EC
analogous
#ECECF8 #F2ECF8 #F8ECF8
triadic
#F2ECF8 #F8F2EC #ECF8F2
tetradic
#F2ECF8 #F8ECEC #F2F8EC #ECF8F8
square
#F2ECF8 #F8ECEC #F2F8EC #ECF8F8
split-complementary
#F2ECF8 #F8F8EC #ECF8EC
monochromatic
#B593D7 #D3BFE8 #F0E9F7 #F0E9F7 #F0E9F7

Accessibility & contrast

On white

1.16
#F2ECF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#F2ECF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECF8
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECF8#FFFFFF#000000##000000
##F2ECF81.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAEEF9
Deuteranopia (green-blind)
#EBEEF8
Tritanopia (blue-blind)
#F1EDF0
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2ecf8;
/* rgb */ color: rgb(242, 236, 248);
/* oklch */ color: oklch(95.1% 0.017 308.3);
Tailwind
colors: {
  custom: {
    50: '#f6f2fa',
    500: '#f2ecf8',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecf8;
$custom-light: #f6f2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecf8",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 46.154,
    "l": 94.902
  },
  "oklch": {
    "l": 0.95121,
    "c": 0.01715,
    "h": 308.3
  },
  "luminance": 0.85645
}

Semantic roles & 50–950 ramp

primary
#F2ECF8
secondary
#C4D7B1
accent
#B92C73
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2ECF8

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

Preview Lab → · Contrast checker → · Palette generator →

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