#F08AFE#F08AFE

#F08AFE is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.3% C 0.189 H 322.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#F08AFE
RGBrgb(240, 138, 254)
HSLhsl(293, 98%, 77%)
HSVhsv(293, 46%, 100%)
CMYKcmyk(5.5%, 45.7%, 0%, 0.4%)
CIE-LABlab(72.14, 55.85, -41.73)
CIE-LCHlch(72.14, 69.72, 323.23°)
OKLaboklab(78.28% 0.1504 -0.1149)
OKLCHoklch(78.28% 0.189 322.6)
XYZxyz(62.9112, 43.8606, 98.8988)
Luminance0.4386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AFE #98FE8A
analogous
#B68AFE #F08AFE #FE8AD2
triadic
#F08AFE #FEF08A #8AFEF0
tetradic
#F08AFE #FEB68A #98FE8A #8AD2FE
square
#F08AFE #FEB68A #98FE8A #8AD2FE
split-complementary
#F08AFE #D2FE8A #8AFEB6
monochromatic
#E011FD #E84DFD #F08AFE #F8C7FF #FBE1FF

Accessibility & contrast

On white

2.15
#F08AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#F08AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AFE
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AFE#FFFFFF#000000##000000
##F08AFE1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#F398B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08afe;
/* rgb */ color: rgb(240, 138, 254);
/* oklch */ color: oklch(78.3% 0.189 322.6);
Tailwind
colors: {
  custom: {
    50: '#f7afff',
    500: '#f08afe',
    950: '#000000',
  },
}
SCSS
$custom: #f08afe;
$custom-light: #f7afff;
$custom-dark: #000000;
JSON
{
  "hex": "#f08afe",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 292.759,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78276,
    "c": 0.18929,
    "h": 322.6
  },
  "luminance": 0.43858
}

Semantic roles & 50–950 ramp

primary
#F08AFE
secondary
#D8F7D4
accent
#E6001C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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