#F08AEA#F08AEA

#F08AEA is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.4% C 0.171 H 329.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#F08AEA
RGBrgb(240, 138, 234)
HSLhsl(304, 77%, 74%)
HSVhsv(304, 43%, 94%)
CMYKcmyk(0%, 42.5%, 2.5%, 5.9%)
CIE-LABlab(71.31, 52.26, -32.09)
CIE-LCHlch(71.31, 61.33, 328.45°)
OKLaboklab(77.4% 0.1467 -0.0874)
OKLCHoklch(77.4% 0.171 329.2)
XYZxyz(59.8741, 42.6458, 82.9036)
Luminance0.4264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AEA #8AF090
analogous
#C38AF0 #F08AEA #F08AB7
triadic
#F08AEA #EAF08A #8AEAF0
tetradic
#F08AEA #F0C38A #8AF090 #8AB7F0
square
#F08AEA #F0C38A #8AF090 #8AB7F0
split-complementary
#F08AEA #B7F08A #8AF0C3
monochromatic
#E21ED7 #E954E0 #F08AEA #F7C0F4 #FCE4FA

Accessibility & contrast

On white

2.20
#F08AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#F08AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AEA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AEA#FFFFFF#000000##000000
##F08AEA1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#A0B4E7
Tritanopia (blue-blind)
#F793AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f08aea;
/* rgb */ color: rgb(240, 138, 234);
/* oklch */ color: oklch(77.4% 0.171 329.2);
Tailwind
colors: {
  custom: {
    50: '#f7aff1',
    500: '#f08aea',
    950: '#000000',
  },
}
SCSS
$custom: #f08aea;
$custom-light: #f7aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f08aea",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 303.529,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77395,
    "c": 0.17076,
    "h": 329.2
  },
  "luminance": 0.42643
}

Semantic roles & 50–950 ramp

primary
#F08AEA
secondary
#D8F3D9
accent
#DA180C
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #F08AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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