#F2ECF7#F2ECF7

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

Color values

HEX#F2ECF7
RGBrgb(242, 236, 247)
HSLhsl(273, 41%, 95%)
HSVhsv(273, 4%, 97%)
CMYKcmyk(2%, 4.5%, 0%, 3.1%)
CIE-LABlab(94.13, 3.96, -4.59)
CIE-LCHlch(94.13, 6.06, 310.83°)
OKLaboklab(95.09% 0.0103 -0.0122)
OKLCHoklch(95.09% 0.016 310.1)
XYZxyz(83.3991, 85.5837, 100.1033)
Luminance0.8558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECF7 #F1F7EC
analogous
#EDECF7 #F2ECF7 #F7ECF7
triadic
#F2ECF7 #F7F2EC #ECF7F2
tetradic
#F2ECF7 #F7EDEC #F1F7EC #ECF7F7
square
#F2ECF7 #F7EDEC #F1F7EC #ECF7F7
split-complementary
#F2ECF7 #F7F7EC #ECF7ED
monochromatic
#B796D3 #D5C1E5 #F0E9F6 #F0E9F6 #F0E9F6

Accessibility & contrast

On white

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

On black

18.12
#F2ECF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECF7
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECF7#FFFFFF#000000##000000
##F2ECF71.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ecf7;
/* rgb */ color: rgb(242, 236, 247);
/* oklch */ color: oklch(95.1% 0.016 310.1);
Tailwind
colors: {
  custom: {
    50: '#f6f2f9',
    500: '#f2ecf7',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecf7;
$custom-light: #f6f2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecf7",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 247
  },
  "hsl": {
    "h": 272.727,
    "s": 40.741,
    "l": 94.706
  },
  "oklch": {
    "l": 0.95091,
    "c": 0.01593,
    "h": 310.1
  },
  "luminance": 0.85584
}

Semantic roles & 50–950 ramp

primary
#F2ECF7
secondary
#C2D5B3
accent
#B4326D
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2ECF7

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

Preview Lab → · Contrast checker → · Palette generator →

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