#F2A1EA#F2A1EA

#F2A1EA is a light, vivid purple. Relative luminance 0.503; OKLCH L 81.2% C 0.133 H 330.2°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#F2A1EA
RGBrgb(242, 161, 234)
HSLhsl(306, 76%, 79%)
HSVhsv(306, 33%, 95%)
CMYKcmyk(0%, 33.5%, 3.3%, 5.1%)
CIE-LABlab(76.26, 41.06, -24.47)
CIE-LCHlch(76.26, 47.80, 329.20°)
OKLaboklab(81.17% 0.1156 -0.0661)
OKLCHoklch(81.17% 0.133 330.2)
XYZxyz(64.2131, 50.3102, 84.1544)
Luminance0.5031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A1EA #A1F2A9
analogous
#D2A1F2 #F2A1EA #F2A1C2
triadic
#F2A1EA #EAF2A1 #A1EAF2
tetradic
#F2A1EA #F2D2A1 #A1F2A9 #A1C2F2
square
#F2A1EA #F2D2A1 #A1F2A9 #A1C2F2
split-complementary
#F2A1EA #C2F2A1 #A1F2D2
monochromatic
#E335D2 #EB6BDE #F2A1EA #F9D7F6 #FBE4F9

Accessibility & contrast

On white

1.90
#F2A1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#F2A1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A1EA
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A1EA#FFFFFF#000000##000000
##F2A1EA1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB5ED
Deuteranopia (green-blind)
#B2C0E7
Tritanopia (blue-blind)
#F8A6BC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #f2a1ea;
/* rgb */ color: rgb(242, 161, 234);
/* oklch */ color: oklch(81.2% 0.133 330.2);
Tailwind
colors: {
  custom: {
    50: '#f7bef1',
    500: '#f2a1ea',
    950: '#000000',
  },
}
SCSS
$custom: #f2a1ea;
$custom-light: #f7bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a1ea",
  "rgb": {
    "r": 242,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 305.926,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81167,
    "c": 0.13312,
    "h": 330.2
  },
  "luminance": 0.50307
}

Semantic roles & 50–950 ramp

primary
#F2A1EA
secondary
#67D071
accent
#D8220E
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#171216
muted
#858285

Preview Lab

Preview with #F2A1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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