#F08DF8#F08DF8

#F08DF8 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.4% C 0.179 H 324.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#F08DF8
RGBrgb(240, 141, 248)
HSLhsl(296, 88%, 76%)
HSVhsv(296, 43%, 97%)
CMYKcmyk(3.2%, 43.1%, 0%, 2.7%)
CIE-LABlab(72.47, 53.25, -37.95)
CIE-LCHlch(72.47, 65.39, 324.52°)
OKLaboklab(78.44% 0.1452 -0.1041)
OKLCHoklch(78.44% 0.179 324.4)
XYZxyz(62.4017, 44.3551, 94.0631)
Luminance0.4435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DF8 #95F88D
analogous
#BB8DF8 #F08DF8 #F88DCB
triadic
#F08DF8 #F8F08D #8DF8F0
tetradic
#F08DF8 #F8BB8D #95F88D #8DCBF8
square
#F08DF8 #F8BB8D #95F88D #8DCBF8
split-complementary
#F08DF8 #CBF88D #8DF8BB
monochromatic
#E11AF1 #E853F4 #F08DF8 #F8C7FC #FBE2FD

Accessibility & contrast

On white

2.13
#F08DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#F08DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DF8
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DF8#FFFFFF#000000##000000
##F08DF81.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#9DB6F5
Tritanopia (blue-blind)
#F499B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08df8;
/* rgb */ color: rgb(240, 141, 248);
/* oklch */ color: oklch(78.4% 0.179 324.4);
Tailwind
colors: {
  custom: {
    50: '#f7b1fb',
    500: '#f08df8',
    950: '#000000',
  },
}
SCSS
$custom: #f08df8;
$custom-light: #f7b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f08df8",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 295.514,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78439,
    "c": 0.1787,
    "h": 324.4
  },
  "luminance": 0.44352
}

Semantic roles & 50–950 ramp

primary
#F08DF8
secondary
#D8F5D6
accent
#E50012
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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