#F2BAFF#F2BAFF

#F2BAFF is a very light, moderate purple. Relative luminance 0.612; OKLCH L 86.2% C 0.111 H 319.9°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#F2BAFF
RGBrgb(242, 186, 255)
HSLhsl(289, 100%, 86%)
HSVhsv(289, 27%, 100%)
CMYKcmyk(5.1%, 27.1%, 0%, 0%)
CIE-LABlab(82.50, 31.72, -26.26)
CIE-LCHlch(82.50, 41.18, 320.38°)
OKLaboklab(86.16% 0.0847 -0.0713)
OKLCHoklch(86.16% 0.111 319.9)
XYZxyz(72.2244, 61.2167, 102.5997)
Luminance0.6121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2BAFF #C7FFBA
analogous
#D0BAFF #F2BAFF #FFBAEA
triadic
#F2BAFF #FFF2BA #BAFFF2
tetradic
#F2BAFF #FFD0BA #C7FFBA #BAEAFF
square
#F2BAFF #FFD0BA #C7FFBA #BAEAFF
split-complementary
#F2BAFF #EAFFBA #BAFFD0
monochromatic
#DB40FF #E67DFF #F2BAFF #F9E0FF #F9E0FF

Accessibility & contrast

On white

1.59
#F2BAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#F2BAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2BAFF
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2BAFF#FFFFFF#000000##000000
##F2BAFF1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2C9FF
Deuteranopia (green-blind)
#BFCFFD
Tritanopia (blue-blind)
#F3C1D2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f2baff;
/* rgb */ color: rgb(242, 186, 255);
/* oklch */ color: oklch(86.2% 0.111 319.9);
Tailwind
colors: {
  custom: {
    50: '#f7cfff',
    500: '#f2baff',
    950: '#000000',
  },
}
SCSS
$custom: #f2baff;
$custom-light: #f7cfff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2baff",
  "rgb": {
    "r": 242,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 288.696,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.86155,
    "c": 0.11068,
    "h": 319.9
  },
  "luminance": 0.61215
}

Semantic roles & 50–950 ramp

primary
#F2BAFF
secondary
#8CE776
accent
#E6002B
background
#FFFEFF
surface
#FFFBFF
border
#D7D4D7
text
#171418
muted
#858386

Preview Lab

Preview with #F2BAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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