#F2A2FB#F2A2FB

#F2A2FB is a very light, vivid purple. Relative luminance 0.517; OKLCH L 82.0% C 0.148 H 323.2°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#F2A2FB
RGBrgb(242, 162, 251)
HSLhsl(294, 92%, 81%)
HSVhsv(294, 35%, 98%)
CMYKcmyk(3.6%, 35.5%, 0%, 1.6%)
CIE-LABlab(77.09, 43.62, -32.40)
CIE-LCHlch(77.09, 54.33, 323.39°)
OKLaboklab(82% 0.1183 -0.0884)
OKLCHoklch(82% 0.148 323.2)
XYZxyz(66.9490, 51.6853, 97.6977)
Luminance0.5168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A2FB #ABFBA2
analogous
#C5A2FB #F2A2FB #FBA2D7
triadic
#F2A2FB #FBF2A2 #A2FBF2
tetradic
#F2A2FB #FBC5A2 #ABFBA2 #A2D7FB
square
#F2A2FB #FBC5A2 #ABFBA2 #A2D7FB
split-complementary
#F2A2FB #D7FBA2 #A2FBC5
monochromatic
#E22DF6 #EA67F8 #F2A2FB #FADDFE #FBE2FE

Accessibility & contrast

On white

1.85
#F2A2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#F2A2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A2FB
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A2FB#FFFFFF#000000##000000
##F2A2FB1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FE
Deuteranopia (green-blind)
#ADC2F8
Tritanopia (blue-blind)
#F5ABC3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f2a2fb;
/* rgb */ color: rgb(242, 162, 251);
/* oklch */ color: oklch(82.0% 0.148 323.2);
Tailwind
colors: {
  custom: {
    50: '#f7bffd',
    500: '#f2a2fb',
    950: '#000000',
  },
}
SCSS
$custom: #f2a2fb;
$custom-light: #f7bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a2fb",
  "rgb": {
    "r": 242,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 293.933,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.82001,
    "c": 0.14772,
    "h": 323.2
  },
  "luminance": 0.51683
}

Semantic roles & 50–950 ramp

primary
#F2A2FB
secondary
#70DD64
accent
#E60017
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #F2A2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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