#F08AED#F08AED

#F08AED is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.5% C 0.173 H 328.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#F08AED
RGBrgb(240, 138, 237)
HSLhsl(302, 77%, 74%)
HSVhsv(302, 43%, 94%)
CMYKcmyk(0%, 42.5%, 1.2%, 5.9%)
CIE-LABlab(71.43, 52.79, -33.55)
CIE-LCHlch(71.43, 62.55, 327.56°)
OKLaboklab(77.52% 0.1473 -0.0915)
OKLCHoklch(77.52% 0.173 328.1)
XYZxyz(60.3087, 42.8197, 85.1927)
Luminance0.4282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AED #8AF08D
analogous
#C08AF0 #F08AED #F08ABA
triadic
#F08AED #EDF08A #8AEDF0
tetradic
#F08AED #F0C08A #8AF08D #8ABAF0
square
#F08AED #F0C08A #8AF08D #8ABAF0
split-complementary
#F08AED #BAF08A #8AF0C0
monochromatic
#E21EDC #E954E5 #F08AED #F7C0F5 #FCE4FB

Accessibility & contrast

On white

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

On black

9.56
#F08AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AED
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AED#FFFFFF#000000##000000
##F08AED1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6F0
Deuteranopia (green-blind)
#9FB4EA
Tritanopia (blue-blind)
#F693B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f08aed;
/* rgb */ color: rgb(240, 138, 237);
/* oklch */ color: oklch(77.5% 0.173 328.1);
Tailwind
colors: {
  custom: {
    50: '#f7aff3',
    500: '#f08aed',
    950: '#000000',
  },
}
SCSS
$custom: #f08aed;
$custom-light: #f7aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#f08aed",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 301.765,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77522,
    "c": 0.17345,
    "h": 328.1
  },
  "luminance": 0.42817
}

Semantic roles & 50–950 ramp

primary
#F08AED
secondary
#D8F3D9
accent
#DA120C
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #F08AED

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

Preview Lab → · Contrast checker → · Palette generator →

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