#F08BF9#F08BF9

#F08BF9 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.2% C 0.183 H 324.1°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#F08BF9
RGBrgb(240, 139, 249)
HSLhsl(295, 90%, 76%)
HSVhsv(295, 44%, 98%)
CMYKcmyk(3.6%, 44.2%, 0%, 2.4%)
CIE-LABlab(72.12, 54.44, -39.04)
CIE-LCHlch(72.12, 66.99, 324.35°)
OKLaboklab(78.19% 0.1482 -0.1072)
OKLCHoklch(78.19% 0.183 324.1)
XYZxyz(62.2651, 43.8328, 94.7850)
Luminance0.4383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BF9 #94F98B
analogous
#B98BF9 #F08BF9 #F98BCB
triadic
#F08BF9 #F9F08B #8BF9F0
tetradic
#F08BF9 #F9B98B #94F98B #8BCBF9
square
#F08BF9 #F9B98B #94F98B #8BCBF9
split-complementary
#F08BF9 #CBF98B #8BF9B9
monochromatic
#E117F3 #E851F6 #F08BF9 #F8C5FC #FBE2FD

Accessibility & contrast

On white

2.15
#F08BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#F08BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BF9
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BF9#FFFFFF#000000##000000
##F08BF91.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#9BB5F6
Tritanopia (blue-blind)
#F498B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08bf9;
/* rgb */ color: rgb(240, 139, 249);
/* oklch */ color: oklch(78.2% 0.183 324.1);
Tailwind
colors: {
  custom: {
    50: '#f7affb',
    500: '#f08bf9',
    950: '#000000',
  },
}
SCSS
$custom: #f08bf9;
$custom-light: #f7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bf9",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 295.091,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.18291,
    "h": 324.1
  },
  "luminance": 0.4383
}

Semantic roles & 50–950 ramp

primary
#F08BF9
secondary
#D8F6D5
accent
#E60013
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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