#F08AEB#F08AEB

#F08AEB is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.4% C 0.172 H 328.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#F08AEB
RGBrgb(240, 138, 235)
HSLhsl(303, 77%, 74%)
HSVhsv(303, 43%, 94%)
CMYKcmyk(0%, 42.5%, 2.1%, 5.9%)
CIE-LABlab(71.35, 52.44, -32.57)
CIE-LCHlch(71.35, 61.73, 328.15°)
OKLaboklab(77.44% 0.1469 -0.0888)
OKLCHoklch(77.44% 0.172 328.9)
XYZxyz(60.0182, 42.7034, 83.6624)
Luminance0.4270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AEB #8AF08F
analogous
#C28AF0 #F08AEB #F08AB8
triadic
#F08AEB #EBF08A #8AEBF0
tetradic
#F08AEB #F0C28A #8AF08F #8AB8F0
square
#F08AEB #F0C28A #8AF08F #8AB8F0
split-complementary
#F08AEB #B8F08A #8AF0C2
monochromatic
#E21ED8 #E954E2 #F08AEB #F7C0F4 #FCE4FA

Accessibility & contrast

On white

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

On black

9.54
#F08AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AEB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AEB#FFFFFF#000000##000000
##F08AEB1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#F793B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f08aeb;
/* rgb */ color: rgb(240, 138, 235);
/* oklch */ color: oklch(77.4% 0.172 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7aff1',
    500: '#f08aeb',
    950: '#000000',
  },
}
SCSS
$custom: #f08aeb;
$custom-light: #f7aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f08aeb",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 302.941,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77437,
    "c": 0.17166,
    "h": 328.9
  },
  "luminance": 0.427
}

Semantic roles & 50–950 ramp

primary
#F08AEB
secondary
#D8F3D9
accent
#DA160C
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #F08AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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