#F2EBF8#F2EBF8

#F2EBF8 is a very light, near-neutral violet. Relative luminance 0.851; OKLCH L 94.9% C 0.019 H 309.8°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F2EBF8
RGBrgb(242, 235, 248)
HSLhsl(272, 48%, 95%)
HSVhsv(272, 5%, 97%)
CMYKcmyk(2.4%, 5.2%, 0%, 2.7%)
CIE-LABlab(93.91, 4.66, -5.43)
CIE-LCHlch(93.91, 7.16, 310.62°)
OKLaboklab(94.93% 0.012 -0.0144)
OKLCHoklch(94.93% 0.019 309.8)
XYZxyz(83.2667, 85.0714, 100.8225)
Luminance0.8507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EBF8 #F1F8EB
analogous
#ECEBF8 #F2EBF8 #F8EBF8
triadic
#F2EBF8 #F8F2EB #EBF8F2
tetradic
#F2EBF8 #F8ECEB #F1F8EB #EBF8F8
square
#F2EBF8 #F8ECEB #F1F8EB #EBF8F8
split-complementary
#F2EBF8 #F8F8EB #EBF8EC
monochromatic
#B790D8 #D5BEE8 #F0E8F7 #F0E8F7 #F0E8F7

Accessibility & contrast

On white

1.17
#F2EBF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#F2EBF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EBF8
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EBF8#FFFFFF#000000##000000
##F2EBF81.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9EDF9
Deuteranopia (green-blind)
#EBEEF8
Tritanopia (blue-blind)
#F1ECEF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2ebf8;
/* rgb */ color: rgb(242, 235, 248);
/* oklch */ color: oklch(94.9% 0.019 309.8);
Tailwind
colors: {
  custom: {
    50: '#f6f1fa',
    500: '#f2ebf8',
    950: '#000000',
  },
}
SCSS
$custom: #f2ebf8;
$custom-light: #f6f1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ebf8",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 248
  },
  "hsl": {
    "h": 272.308,
    "s": 48.148,
    "l": 94.706
  },
  "oklch": {
    "l": 0.94927,
    "c": 0.01879,
    "h": 309.8
  },
  "luminance": 0.85071
}

Semantic roles & 50–950 ramp

primary
#F2EBF8
secondary
#C2D8B0
accent
#BB2A6D
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2EBF8

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

Preview Lab → · Contrast checker → · Palette generator →

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