#F2A7FA#F2A7FA

#F2A7FA is a very light, vivid purple. Relative luminance 0.534; OKLCH L 82.8% C 0.138 H 323.4°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#F2A7FA
RGBrgb(242, 167, 250)
HSLhsl(294, 89%, 82%)
HSVhsv(294, 33%, 98%)
CMYKcmyk(3.2%, 33.2%, 0%, 2%)
CIE-LABlab(78.12, 40.81, -30.28)
CIE-LCHlch(78.12, 50.82, 323.43°)
OKLaboklab(82.77% 0.1109 -0.0825)
OKLCHoklch(82.77% 0.138 323.4)
XYZxyz(67.6901, 53.4190, 97.1692)
Luminance0.5342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A7FA #AFFAA7
analogous
#C9A7FA #F2A7FA #FAA7D9
triadic
#F2A7FA #FAF2A7 #A7FAF2
tetradic
#F2A7FA #FAC9A7 #AFFAA7 #A7D9FA
square
#F2A7FA #FAC9A7 #AFFAA7 #A7D9FA
split-complementary
#F2A7FA #D9FAA7 #A7FAC9
monochromatic
#E133F3 #E96DF7 #F2A7FA #FBE1FD #FBE2FD

Accessibility & contrast

On white

1.80
#F2A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#F2A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A7FA
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A7FA#FFFFFF#000000##000000
##F2A7FA1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFD
Deuteranopia (green-blind)
#B1C4F7
Tritanopia (blue-blind)
#F5AFC6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #f2a7fa;
/* rgb */ color: rgb(242, 167, 250);
/* oklch */ color: oklch(82.8% 0.138 323.4);
Tailwind
colors: {
  custom: {
    50: '#f7c2fc',
    500: '#f2a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #f2a7fa;
$custom-light: #f7c2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a7fa",
  "rgb": {
    "r": 242,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 294.217,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.82768,
    "c": 0.13818,
    "h": 323.4
  },
  "luminance": 0.53417
}

Semantic roles & 50–950 ramp

primary
#F2A7FA
secondary
#74DC69
accent
#E60016
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #F2A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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