#F0A2FF#F0A2FF

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

Color values

HEX#F0A2FF
RGBrgb(240, 162, 255)
HSLhsl(290, 100%, 82%)
HSVhsv(290, 36%, 100%)
CMYKcmyk(5.9%, 36.5%, 0%, 0%)
CIE-LABlab(77.03, 43.77, -34.66)
CIE-LCHlch(77.03, 55.83, 321.62°)
OKLaboklab(81.96% 0.117 -0.0949)
OKLCHoklch(81.96% 0.151 321)
XYZxyz(66.9033, 51.5881, 101.0216)
Luminance0.5159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0A2FF #B1FFA2
analogous
#C2A2FF #F0A2FF #FFA2DF
triadic
#F0A2FF #FFF0A2 #A2FFF0
tetradic
#F0A2FF #FFC2A2 #B1FFA2 #A2DFFF
square
#F0A2FF #FFC2A2 #B1FFA2 #A2DFFF
split-complementary
#F0A2FF #DFFFA2 #A2FFC2
monochromatic
#DC28FF #E665FF #F0A2FF #FADFFF #FAE0FF

Accessibility & contrast

On white

1.86
#F0A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0A2FF#FFFFFF#000000##000000
##F0A2FF1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#AAC1FC
Tritanopia (blue-blind)
#F2ADC5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f0a2ff;
/* rgb */ color: rgb(240, 162, 255);
/* oklch */ color: oklch(82.0% 0.151 321.0);
Tailwind
colors: {
  custom: {
    50: '#f6bfff',
    500: '#f0a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #f0a2ff;
$custom-light: #f6bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0a2ff",
  "rgb": {
    "r": 240,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 290.323,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.8196,
    "c": 0.15064,
    "h": 321
  },
  "luminance": 0.51586
}

Semantic roles & 50–950 ramp

primary
#F0A2FF
secondary
#77E362
accent
#E60025
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #F0A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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