#F2A7EA#F2A7EA

#F2A7EA is a very light, vivid purple. Relative luminance 0.525; OKLCH L 82.1% C 0.123 H 330.4°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#F2A7EA
RGBrgb(242, 167, 234)
HSLhsl(306, 74%, 80%)
HSVhsv(306, 31%, 95%)
CMYKcmyk(0%, 31%, 3.3%, 5.1%)
CIE-LABlab(77.55, 37.91, -22.50)
CIE-LCHlch(77.55, 44.09, 329.31°)
OKLaboklab(82.15% 0.1067 -0.0606)
OKLCHoklch(82.15% 0.123 330.4)
XYZxyz(65.2869, 52.4578, 84.5123)
Luminance0.5245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A7EA #A7F2AF
analogous
#D4A7F2 #F2A7EA #F2A7C4
triadic
#F2A7EA #EAF2A7 #A7EAF2
tetradic
#F2A7EA #F2D4A7 #A7F2AF #A7C4F2
square
#F2A7EA #F2D4A7 #A7F2AF #A7C4F2
split-complementary
#F2A7EA #C4F2A7 #A7F2D4
monochromatic
#E23CD1 #EA72DD #F2A7EA #FADCF7 #FBE4F9

Accessibility & contrast

On white

1.83
#F2A7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#F2A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A7EA
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A7EA#FFFFFF#000000##000000
##F2A7EA1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B9ED
Deuteranopia (green-blind)
#B7C3E8
Tritanopia (blue-blind)
#F8ACBF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #f2a7ea;
/* rgb */ color: rgb(242, 167, 234);
/* oklch */ color: oklch(82.1% 0.123 330.4);
Tailwind
colors: {
  custom: {
    50: '#f7c2f0',
    500: '#f2a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #f2a7ea;
$custom-light: #f7c2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a7ea",
  "rgb": {
    "r": 242,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 306.4,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.82149,
    "c": 0.1227,
    "h": 330.4
  },
  "luminance": 0.52455
}

Semantic roles & 50–950 ramp

primary
#F2A7EA
secondary
#6CD177
accent
#D6240F
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171216
muted
#858285

Preview Lab

Preview with #F2A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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