#F2A2EF#F2A2EF

#F2A2EF is a light, vivid purple. Relative luminance 0.509; OKLCH L 81.5% C 0.136 H 328.0°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#F2A2EF
RGBrgb(242, 162, 239)
HSLhsl(302, 75%, 79%)
HSVhsv(302, 33%, 95%)
CMYKcmyk(0%, 33.1%, 1.2%, 5.1%)
CIE-LABlab(76.65, 41.43, -26.59)
CIE-LCHlch(76.65, 49.22, 327.31°)
OKLaboklab(81.52% 0.1154 -0.072)
OKLCHoklch(81.52% 0.136 328)
XYZxyz(65.1170, 50.9525, 88.0494)
Luminance0.5095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A2EF #A2F2A5
analogous
#CDA2F2 #F2A2EF #F2A2C7
triadic
#F2A2EF #EFF2A2 #A2EFF2
tetradic
#F2A2EF #F2CDA2 #A2F2A5 #A2C7F2
square
#F2A2EF #F2CDA2 #A2F2A5 #A2C7F2
split-complementary
#F2A2EF #C7F2A2 #A2F2CD
monochromatic
#E337DD #EA6CE6 #F2A2EF #FAD8F8 #FBE4FA

Accessibility & contrast

On white

1.88
#F2A2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#F2A2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A2EF
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A2EF#FFFFFF#000000##000000
##F2A2EF1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB7F2
Deuteranopia (green-blind)
#B1C1EC
Tritanopia (blue-blind)
#F7A8BE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f2a2ef;
/* rgb */ color: rgb(242, 162, 239);
/* oklch */ color: oklch(81.5% 0.136 328.0);
Tailwind
colors: {
  custom: {
    50: '#f7bff4',
    500: '#f2a2ef',
    950: '#000000',
  },
}
SCSS
$custom: #f2a2ef;
$custom-light: #f7bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a2ef",
  "rgb": {
    "r": 242,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 302.25,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81521,
    "c": 0.13603,
    "h": 328
  },
  "luminance": 0.5095
}

Semantic roles & 50–950 ramp

primary
#F2A2EF
secondary
#68D06C
accent
#D8150E
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171217
muted
#858285

Preview Lab

Preview with #F2A2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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