#F08BFB#F08BFB

#F08BFB is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.3% C 0.185 H 323.5°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#F08BFB
RGBrgb(240, 139, 251)
HSLhsl(294, 93%, 76%)
HSVhsv(294, 45%, 98%)
CMYKcmyk(4.4%, 44.6%, 0%, 1.6%)
CIE-LABlab(72.20, 54.80, -40.00)
CIE-LCHlch(72.20, 67.85, 323.87°)
OKLaboklab(78.28% 0.1485 -0.1099)
OKLCHoklch(78.28% 0.185 323.5)
XYZxyz(62.5787, 43.9582, 96.4366)
Luminance0.4396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BFB #96FB8B
analogous
#B88BFB #F08BFB #FB8BCE
triadic
#F08BFB #FBF08B #8BFBF0
tetradic
#F08BFB #FBB88B #96FB8B #8BCEFB
square
#F08BFB #FBB88B #96FB8B #8BCEFB
split-complementary
#F08BFB #CEFB8B #8BFBB8
monochromatic
#E115F7 #E850F9 #F08BFB #F8C6FD #FBE1FE

Accessibility & contrast

On white

2.14
#F08BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#F08BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BFB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BFB#FFFFFF#000000##000000
##F08BFB1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#9AB5F8
Tritanopia (blue-blind)
#F498B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08bfb;
/* rgb */ color: rgb(240, 139, 251);
/* oklch */ color: oklch(78.3% 0.185 323.5);
Tailwind
colors: {
  custom: {
    50: '#f7affd',
    500: '#f08bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f08bfb;
$custom-light: #f7affd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bfb",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 294.107,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78283,
    "c": 0.18481,
    "h": 323.5
  },
  "luminance": 0.43956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F08BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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