#F0A2FA#F0A2FA

#F0A2FA is a light, vivid purple. Relative luminance 0.513; OKLCH L 81.8% C 0.146 H 322.8°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#F0A2FA
RGBrgb(240, 162, 250)
HSLhsl(293, 90%, 81%)
HSVhsv(293, 35%, 98%)
CMYKcmyk(4%, 35.2%, 0%, 2%)
CIE-LABlab(76.84, 42.82, -32.26)
CIE-LCHlch(76.84, 53.62, 323.01°)
OKLaboklab(81.75% 0.1159 -0.0881)
OKLCHoklch(81.75% 0.146 322.8)
XYZxyz(66.1089, 51.2703, 96.8377)
Luminance0.5127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0A2FA #ACFAA2
analogous
#C4A2FA #F0A2FA #FAA2D8
triadic
#F0A2FA #FAF0A2 #A2FAF0
tetradic
#F0A2FA #FAC4A2 #ACFAA2 #A2D8FA
square
#F0A2FA #FAC4A2 #ACFAA2 #A2D8FA
split-complementary
#F0A2FA #D8FAA2 #A2FAC4
monochromatic
#DD2EF4 #E768F7 #F0A2FA #F9DCFD #FAE2FD

Accessibility & contrast

On white

1.87
#F0A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#F0A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0A2FA
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0A2FA#FFFFFF#000000##000000
##F0A2FA1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FD
Deuteranopia (green-blind)
#ACC1F7
Tritanopia (blue-blind)
#F3ABC3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f0a2fa;
/* rgb */ color: rgb(240, 162, 250);
/* oklch */ color: oklch(81.8% 0.146 322.8);
Tailwind
colors: {
  custom: {
    50: '#f6bffc',
    500: '#f0a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #f0a2fa;
$custom-light: #f6bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0a2fa",
  "rgb": {
    "r": 240,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 293.182,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.81753,
    "c": 0.14553,
    "h": 322.8
  },
  "luminance": 0.51268
}

Semantic roles & 50–950 ramp

primary
#F0A2FA
secondary
#72DC64
accent
#E6001A
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #F0A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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