#F2E7FE#F2E7FE

#F2E7FE is a very light, muted violet. Relative luminance 0.832; OKLCH L 94.3% C 0.033 H 307.2°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#F2E7FE
RGBrgb(242, 231, 254)
HSLhsl(269, 92%, 95%)
HSVhsv(269, 9%, 100%)
CMYKcmyk(4.7%, 9.1%, 0%, 0.4%)
CIE-LABlab(93.10, 7.83, -9.77)
CIE-LCHlch(93.10, 12.52, 308.72°)
OKLaboklab(94.34% 0.0198 -0.0261)
OKLCHoklch(94.34% 0.033 307.2)
XYZxyz(83.0802, 83.1850, 105.4262)
Luminance0.8318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E7FE #F3FEE7
analogous
#E7E7FE #F2E7FE #FEE7FE
triadic
#F2E7FE #FEF2E7 #E7FEF2
tetradic
#F2E7FE #FEE7E7 #F3FEE7 #E7FEFE
square
#F2E7FE #FEE7E7 #F3FEE7 #E7FEFE
split-complementary
#F2E7FE #FEFEE7 #E7FEE7
monochromatic
#B271F9 #D2ACFC #EFE2FE #EFE2FE #EFE2FE

Accessibility & contrast

On white

1.19
#F2E7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#F2E7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E7FE
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E7FE#FFFFFF#000000##000000
##F2E7FE1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4EBFF
Deuteranopia (green-blind)
#E6EBFD
Tritanopia (blue-blind)
#F1EAEE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2e7fe;
/* rgb */ color: rgb(242, 231, 254);
/* oklch */ color: oklch(94.3% 0.033 307.2);
Tailwind
colors: {
  custom: {
    50: '#f6eefe',
    500: '#f2e7fe',
    950: '#000000',
  },
}
SCSS
$custom: #f2e7fe;
$custom-light: #f6eefe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e7fe",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 254
  },
  "hsl": {
    "h": 268.696,
    "s": 92,
    "l": 95.098
  },
  "oklch": {
    "l": 0.94342,
    "c": 0.03277,
    "h": 307.2
  },
  "luminance": 0.83185
}

Semantic roles & 50–950 ramp

primary
#F2E7FE
secondary
#C6EA9F
accent
#E60078
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2E7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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