#F2E2FF#F2E2FF

#F2E2FF is a very light, muted violet. Relative luminance 0.805; OKLCH L 93.4% C 0.042 H 310.1°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#F2E2FF
RGBrgb(242, 226, 255)
HSLhsl(273, 100%, 94%)
HSVhsv(273, 11%, 100%)
CMYKcmyk(5.1%, 11.4%, 0%, 0%)
CIE-LABlab(91.90, 10.61, -12.06)
CIE-LCHlch(91.90, 16.06, 311.35°)
OKLaboklab(93.42% 0.0272 -0.0323)
OKLCHoklch(93.42% 0.042 310.1)
XYZxyz(81.8612, 80.4903, 105.8120)
Luminance0.8049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E2FF #EFFFE2
analogous
#E4E2FF #F2E2FF #FFE2FE
triadic
#F2E2FF #FFF2E2 #E2FFF2
tetradic
#F2E2FF #FFE4E2 #EFFFE2 #E2FEFF
square
#F2E2FF #FFE4E2 #EFFFE2 #E2FEFF
split-complementary
#F2E2FF #FEFFE2 #E2FFE4
monochromatic
#BB68FF #D7A5FF #F1E0FF #F1E0FF #F1E0FF

Accessibility & contrast

On white

1.23
#F2E2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#F2E2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E2FF
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E2FF#FFFFFF#000000##000000
##F2E2FF1.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEE7FF
Deuteranopia (green-blind)
#E1E8FE
Tritanopia (blue-blind)
#F1E5EB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2e2ff;
/* rgb */ color: rgb(242, 226, 255);
/* oklch */ color: oklch(93.4% 0.042 310.1);
Tailwind
colors: {
  custom: {
    50: '#f6ebff',
    500: '#f2e2ff',
    950: '#000000',
  },
}
SCSS
$custom: #f2e2ff;
$custom-light: #f6ebff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e2ff",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 255
  },
  "hsl": {
    "h": 273.103,
    "s": 100,
    "l": 94.314
  },
  "oklch": {
    "l": 0.93422,
    "c": 0.04223,
    "h": 310.1
  },
  "luminance": 0.8049
}

Semantic roles & 50–950 ramp

primary
#F2E2FF
secondary
#BEED98
accent
#E60067
background
#FFFEFF
surface
#FEFDFF
border
#D6D5D7
text
#171618
muted
#858486

Preview Lab

Preview with #F2E2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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