#F2E7FF#F2E7FF

#F2E7FF is a very light, muted violet. Relative luminance 0.832; OKLCH L 94.4% C 0.034 H 306.3°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#F2E7FF
RGBrgb(242, 231, 255)
HSLhsl(268, 100%, 95%)
HSVhsv(268, 9%, 100%)
CMYKcmyk(5.1%, 9.4%, 0%, 0%)
CIE-LABlab(93.12, 8.02, -10.24)
CIE-LCHlch(93.12, 13.01, 308.04°)
OKLaboklab(94.37% 0.0202 -0.0274)
OKLCHoklch(94.37% 0.034 306.3)
XYZxyz(83.2407, 83.2492, 106.2718)
Luminance0.8325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E7FF #F4FFE7
analogous
#E7E8FF #F2E7FF #FEE7FF
triadic
#F2E7FF #FFF2E7 #E7FFF2
tetradic
#F2E7FF #FFE7E8 #F4FFE7 #E7FFFE
square
#F2E7FF #FFE7E8 #F4FFE7 #E7FFFE
split-complementary
#F2E7FF #FFFEE7 #E8FFE7
monochromatic
#B06DFF #D1AAFF #EEE0FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

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

On black

17.65
#F2E7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E7FF
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E7FF#FFFFFF#000000##000000
##F2E7FF1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3EBFF
Deuteranopia (green-blind)
#E5EBFE
Tritanopia (blue-blind)
#F0EAEF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2e7ff;
/* rgb */ color: rgb(242, 231, 255);
/* oklch */ color: oklch(94.4% 0.034 306.3);
Tailwind
colors: {
  custom: {
    50: '#f6eeff',
    500: '#f2e7ff',
    950: '#000000',
  },
}
SCSS
$custom: #f2e7ff;
$custom-light: #f6eeff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e7ff",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 255
  },
  "hsl": {
    "h": 267.5,
    "s": 100,
    "l": 95.294
  },
  "oklch": {
    "l": 0.94373,
    "c": 0.03402,
    "h": 306.3
  },
  "luminance": 0.83249
}

Semantic roles & 50–950 ramp

primary
#F2E7FF
secondary
#C8EE9D
accent
#E6007C
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171618
muted
#858586

Preview Lab

Preview with #F2E7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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