#F08AF8#F08AF8

#F08AF8 is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.0% C 0.184 H 324.5°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#F08AF8
RGBrgb(240, 138, 248)
HSLhsl(296, 89%, 76%)
HSVhsv(296, 44%, 97%)
CMYKcmyk(3.2%, 44.4%, 0%, 2.7%)
CIE-LABlab(71.88, 54.75, -38.86)
CIE-LCHlch(71.88, 67.14, 324.63°)
OKLaboklab(78% 0.1494 -0.1067)
OKLCHoklch(78% 0.184 324.5)
XYZxyz(61.9654, 43.4823, 93.9177)
Luminance0.4348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AF8 #92F88A
analogous
#B98AF8 #F08AF8 #F88AC9
triadic
#F08AF8 #F8F08A #8AF8F0
tetradic
#F08AF8 #F8B98A #92F88A #8AC9F8
square
#F08AF8 #F8B98A #92F88A #8AC9F8
split-complementary
#F08AF8 #C9F88A #8AF8B9
monochromatic
#E117F1 #E950F5 #F08AF8 #F7C4FB #FBE2FD

Accessibility & contrast

On white

2.17
#F08AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#F08AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AF8
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AF8#FFFFFF#000000##000000
##F08AF81.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#9AB5F5
Tritanopia (blue-blind)
#F496B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08af8;
/* rgb */ color: rgb(240, 138, 248);
/* oklch */ color: oklch(78.0% 0.184 324.5);
Tailwind
colors: {
  custom: {
    50: '#f7affb',
    500: '#f08af8',
    950: '#000000',
  },
}
SCSS
$custom: #f08af8;
$custom-light: #f7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#f08af8",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 295.636,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78004,
    "c": 0.18358,
    "h": 324.5
  },
  "luminance": 0.4348
}

Semantic roles & 50–950 ramp

primary
#F08AF8
secondary
#D8F5D6
accent
#E50011
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #F08AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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