#F2A1FA#F2A1FA

#F2A1FA is a light, vivid purple. Relative luminance 0.513; OKLCH L 81.8% C 0.148 H 323.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#F2A1FA
RGBrgb(242, 161, 250)
HSLhsl(295, 90%, 81%)
HSVhsv(295, 36%, 98%)
CMYKcmyk(3.2%, 35.6%, 0%, 2%)
CIE-LABlab(76.84, 43.95, -32.24)
CIE-LCHlch(76.84, 54.51, 323.74°)
OKLaboklab(81.8% 0.1195 -0.088)
OKLCHoklch(81.8% 0.148 323.6)
XYZxyz(66.6163, 51.2715, 96.8112)
Luminance0.5127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A1FA #A9FAA1
analogous
#C5A1FA #F2A1FA #FAA1D5
triadic
#F2A1FA #FAF2A1 #A1FAF2
tetradic
#F2A1FA #FAC5A1 #A9FAA1 #A1D5FA
square
#F2A1FA #FAC5A1 #A9FAA1 #A1D5FA
split-complementary
#F2A1FA #D5FAA1 #A1FAC5
monochromatic
#E22DF4 #EA67F7 #F2A1FA #FADBFD #FBE2FD

Accessibility & contrast

On white

1.87
#F2A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#F2A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A1FA
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A1FA#FFFFFF#000000##000000
##F2A1FA1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FD
Deuteranopia (green-blind)
#ACC1F7
Tritanopia (blue-blind)
#F5AAC2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f2a1fa;
/* rgb */ color: rgb(242, 161, 250);
/* oklch */ color: oklch(81.8% 0.148 323.6);
Tailwind
colors: {
  custom: {
    50: '#f7befc',
    500: '#f2a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #f2a1fa;
$custom-light: #f7befc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a1fa",
  "rgb": {
    "r": 242,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 294.607,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.81801,
    "c": 0.14843,
    "h": 323.6
  },
  "luminance": 0.51269
}

Semantic roles & 50–950 ramp

primary
#F2A1FA
secondary
#6EDC64
accent
#E60015
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #F2A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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