#F0A1FA#F0A1FA

#F0A1FA is a light, vivid purple. Relative luminance 0.509; OKLCH L 81.6% C 0.147 H 322.8°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#F0A1FA
RGBrgb(240, 161, 250)
HSLhsl(293, 90%, 81%)
HSVhsv(293, 36%, 98%)
CMYKcmyk(4%, 35.6%, 0%, 2%)
CIE-LABlab(76.63, 43.35, -32.59)
CIE-LCHlch(76.63, 54.23, 323.06°)
OKLaboklab(81.59% 0.1173 -0.089)
OKLCHoklch(81.59% 0.147 322.8)
XYZxyz(65.9335, 50.9194, 96.7792)
Luminance0.5092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0A1FA #ABFAA1
analogous
#C3A1FA #F0A1FA #FAA1D8
triadic
#F0A1FA #FAF0A1 #A1FAF0
tetradic
#F0A1FA #FAC3A1 #ABFAA1 #A1D8FA
square
#F0A1FA #FAC3A1 #ABFAA1 #A1D8FA
split-complementary
#F0A1FA #D8FAA1 #A1FAC3
monochromatic
#DD2DF4 #E767F7 #F0A1FA #F9DBFD #FAE2FD

Accessibility & contrast

On white

1.88
#F0A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#F0A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0A1FA
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0A1FA#FFFFFF#000000##000000
##F0A1FA1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B7FD
Deuteranopia (green-blind)
#ABC0F7
Tritanopia (blue-blind)
#F3AAC2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f0a1fa;
/* rgb */ color: rgb(240, 161, 250);
/* oklch */ color: oklch(81.6% 0.147 322.8);
Tailwind
colors: {
  custom: {
    50: '#f6befc',
    500: '#f0a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #f0a1fa;
$custom-light: #f6befc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0a1fa",
  "rgb": {
    "r": 240,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 293.258,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.81592,
    "c": 0.14724,
    "h": 322.8
  },
  "luminance": 0.50917
}

Semantic roles & 50–950 ramp

primary
#F0A1FA
secondary
#71DC64
accent
#E6001A
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#171217
muted
#858285

Preview Lab

Preview with #F0A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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