#F7A2EB#F7A2EB

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

Color values

HEX#F7A2EB
RGBrgb(247, 162, 235)
HSLhsl(308, 84%, 80%)
HSVhsv(308, 34%, 97%)
CMYKcmyk(0%, 34.4%, 4.9%, 3.1%)
CIE-LABlab(77.05, 42.29, -23.76)
CIE-LCHlch(77.05, 48.51, 330.67°)
OKLaboklab(81.9% 0.1199 -0.064)
OKLCHoklch(81.9% 0.136 331.9)
XYZxyz(66.2727, 51.6160, 85.0532)
Luminance0.5161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7A2EB #A2F7AE
analogous
#D9A2F7 #F7A2EB #F7A2C0
triadic
#F7A2EB #EBF7A2 #A2EBF7
tetradic
#F7A2EB #F7D9A2 #A2F7AE #A2C0F7
square
#F7A2EB #F7D9A2 #A2F7AE #A2C0F7
split-complementary
#F7A2EB #C0F7A2 #A2F7D9
monochromatic
#ED31D3 #F26ADF #F7A2EB #FCDAF7 #FDE3F9

Accessibility & contrast

On white

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

On black

11.32
#F7A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7A2EB
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7A2EB#FFFFFF#000000##000000
##F7A2EB1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B7EE
Deuteranopia (green-blind)
#B5C3E8
Tritanopia (blue-blind)
#FEA7BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f7a2eb;
/* rgb */ color: rgb(247, 162, 235);
/* oklch */ color: oklch(81.9% 0.136 331.9);
Tailwind
colors: {
  custom: {
    50: '#fbbff1',
    500: '#f7a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #f7a2eb;
$custom-light: #fbbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7a2eb",
  "rgb": {
    "r": 247,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 308.471,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.13592,
    "h": 331.9
  },
  "luminance": 0.51613
}

Semantic roles & 50–950 ramp

primary
#F7A2EB
secondary
#66D776
accent
#E12405
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171216
muted
#858285

Preview Lab

Preview with #F7A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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