#F08DF6#F08DF6

#F08DF6 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.4% C 0.177 H 325.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#F08DF6
RGBrgb(240, 141, 246)
HSLhsl(297, 85%, 76%)
HSVhsv(297, 43%, 96%)
CMYKcmyk(2.4%, 42.7%, 0%, 3.5%)
CIE-LABlab(72.38, 52.89, -36.99)
CIE-LCHlch(72.38, 64.54, 325.03°)
OKLaboklab(78.35% 0.1449 -0.1014)
OKLCHoklch(78.35% 0.177 325)
XYZxyz(62.0931, 44.2316, 92.4377)
Luminance0.4423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DF6 #93F68D
analogous
#BB8DF6 #F08DF6 #F68DC7
triadic
#F08DF6 #F6F08D #8DF6F0
tetradic
#F08DF6 #F6BB8D #93F68D #8DC7F6
square
#F08DF6 #F6BB8D #93F68D #8DC7F6
split-complementary
#F08DF6 #C7F68D #8DF6BB
monochromatic
#E11CED #E954F2 #F08DF6 #F7C6FA #FBE3FD

Accessibility & contrast

On white

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

On black

9.85
#F08DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DF6
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DF6#FFFFFF#000000##000000
##F08DF61.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFA
Deuteranopia (green-blind)
#9DB6F3
Tritanopia (blue-blind)
#F498B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08df6;
/* rgb */ color: rgb(240, 141, 246);
/* oklch */ color: oklch(78.4% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#f7b1f9',
    500: '#f08df6',
    950: '#000000',
  },
}
SCSS
$custom: #f08df6;
$custom-light: #f7b1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f08df6",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 296.571,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78351,
    "c": 0.17681,
    "h": 325
  },
  "luminance": 0.44229
}

Semantic roles & 50–950 ramp

primary
#F08DF6
secondary
#D8F5D6
accent
#E20410
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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