#F2A2F9#F2A2F9

#F2A2F9 is a light, vivid purple. Relative luminance 0.516; OKLCH L 81.9% C 0.146 H 324.0°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#F2A2F9
RGBrgb(242, 162, 249)
HSLhsl(295, 88%, 81%)
HSVhsv(295, 35%, 98%)
CMYKcmyk(2.8%, 34.9%, 0%, 2.4%)
CIE-LABlab(77.02, 43.25, -31.44)
CIE-LCHlch(77.02, 53.46, 323.99°)
OKLaboklab(81.92% 0.1179 -0.0857)
OKLCHoklch(81.92% 0.146 324)
XYZxyz(66.6354, 51.5598, 96.0461)
Luminance0.5156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A2F9 #A9F9A2
analogous
#C6A2F9 #F2A2F9 #F9A2D5
triadic
#F2A2F9 #F9F2A2 #A2F9F2
tetradic
#F2A2F9 #F9C6A2 #A9F9A2 #A2D5F9
square
#F2A2F9 #F9C6A2 #A9F9A2 #A2D5F9
split-complementary
#F2A2F9 #D5F9A2 #A2F9C6
monochromatic
#E22FF2 #EA69F5 #F2A2F9 #FADBFD #FBE2FD

Accessibility & contrast

On white

1.86
#F2A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#F2A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A2F9
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A2F9#FFFFFF#000000##000000
##F2A2F91.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB8FC
Deuteranopia (green-blind)
#AEC2F6
Tritanopia (blue-blind)
#F6ABC2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f2a2f9;
/* rgb */ color: rgb(242, 162, 249);
/* oklch */ color: oklch(81.9% 0.146 324.0);
Tailwind
colors: {
  custom: {
    50: '#f7bffb',
    500: '#f2a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #f2a2f9;
$custom-light: #f7bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a2f9",
  "rgb": {
    "r": 242,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 295.172,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.81919,
    "c": 0.14572,
    "h": 324
  },
  "luminance": 0.51557
}

Semantic roles & 50–950 ramp

primary
#F2A2F9
secondary
#6EDA65
accent
#E40113
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #F2A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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