#F08DFB#F08DFB

#F08DFB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.6% C 0.182 H 323.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#F08DFB
RGBrgb(240, 141, 251)
HSLhsl(294, 93%, 77%)
HSVhsv(294, 44%, 98%)
CMYKcmyk(4.4%, 43.8%, 0%, 1.6%)
CIE-LABlab(72.59, 53.80, -39.39)
CIE-LCHlch(72.59, 66.68, 323.79°)
OKLaboklab(78.57% 0.1458 -0.1082)
OKLCHoklch(78.57% 0.182 323.4)
XYZxyz(62.8709, 44.5427, 96.5340)
Luminance0.4454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DFB #98FB8D
analogous
#B98DFB #F08DFB #FB8DCF
triadic
#F08DFB #FBF08D #8DFBF0
tetradic
#F08DFB #FBB98D #98FB8D #8DCFFB
square
#F08DFB #FBB98D #98FB8D #8DCFFB
split-complementary
#F08DFB #CFFB8D #8DFBB9
monochromatic
#E017F7 #E852F9 #F08DFB #F8C8FD #FBE1FE

Accessibility & contrast

On white

2.12
#F08DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#F08DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DFB
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DFB#FFFFFF#000000##000000
##F08DFB1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#F49AB8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08dfb;
/* rgb */ color: rgb(240, 141, 251);
/* oklch */ color: oklch(78.6% 0.182 323.4);
Tailwind
colors: {
  custom: {
    50: '#f7b1fd',
    500: '#f08dfb',
    950: '#000000',
  },
}
SCSS
$custom: #f08dfb;
$custom-light: #f7b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08dfb",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 294,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78573,
    "c": 0.18156,
    "h": 323.4
  },
  "luminance": 0.4454
}

Semantic roles & 50–950 ramp

primary
#F08DFB
secondary
#D8F6D5
accent
#E60017
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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