#F2A1F9#F2A1F9

#F2A1F9 is a light, vivid purple. Relative luminance 0.512; OKLCH L 81.8% C 0.147 H 324.0°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#F2A1F9
RGBrgb(242, 161, 249)
HSLhsl(295, 88%, 80%)
HSVhsv(295, 35%, 98%)
CMYKcmyk(2.8%, 35.3%, 0%, 2.4%)
CIE-LABlab(76.81, 43.77, -31.76)
CIE-LCHlch(76.81, 54.08, 324.03°)
OKLaboklab(81.76% 0.1193 -0.0866)
OKLCHoklch(81.76% 0.147 324)
XYZxyz(66.4599, 51.2089, 95.9876)
Luminance0.5121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A1F9 #A8F9A1
analogous
#C6A1F9 #F2A1F9 #F9A1D4
triadic
#F2A1F9 #F9F2A1 #A1F9F2
tetradic
#F2A1F9 #F9C6A1 #A8F9A1 #A1D4F9
square
#F2A1F9 #F9C6A1 #A8F9A1 #A1D4F9
split-complementary
#F2A1F9 #D4F9A1 #A1F9C6
monochromatic
#E22EF2 #EA67F5 #F2A1F9 #FADBFD #FBE2FD

Accessibility & contrast

On white

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

On black

11.24
#F2A1F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A1F9
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A1F9#FFFFFF#000000##000000
##F2A1F91.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B7FC
Deuteranopia (green-blind)
#ADC1F6
Tritanopia (blue-blind)
#F6AAC2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f2a1f9;
/* rgb */ color: rgb(242, 161, 249);
/* oklch */ color: oklch(81.8% 0.147 324.0);
Tailwind
colors: {
  custom: {
    50: '#f7befb',
    500: '#f2a1f9',
    950: '#000000',
  },
}
SCSS
$custom: #f2a1f9;
$custom-light: #f7befb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a1f9",
  "rgb": {
    "r": 242,
    "g": 161,
    "b": 249
  },
  "hsl": {
    "h": 295.227,
    "s": 88,
    "l": 80.392
  },
  "oklch": {
    "l": 0.8176,
    "c": 0.14742,
    "h": 324
  },
  "luminance": 0.51207
}

Semantic roles & 50–950 ramp

primary
#F2A1F9
secondary
#6DDA64
accent
#E50113
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#171217
muted
#858285

Preview Lab

Preview with #F2A1F9

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

Preview Lab → · Contrast checker → · Palette generator →

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