#F08BF8#F08BF8

#F08BF8 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.1% C 0.182 H 324.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#F08BF8
RGBrgb(240, 139, 248)
HSLhsl(296, 89%, 76%)
HSVhsv(296, 44%, 97%)
CMYKcmyk(3.2%, 44%, 0%, 2.7%)
CIE-LABlab(72.07, 54.25, -38.56)
CIE-LCHlch(72.07, 66.56, 324.60°)
OKLaboklab(78.15% 0.148 -0.1058)
OKLCHoklch(78.15% 0.182 324.4)
XYZxyz(62.1095, 43.7706, 93.9657)
Luminance0.4377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BF8 #93F88B
analogous
#B98BF8 #F08BF8 #F88BC9
triadic
#F08BF8 #F8F08B #8BF8F0
tetradic
#F08BF8 #F8B98B #93F88B #8BC9F8
square
#F08BF8 #F8B98B #93F88B #8BC9F8
split-complementary
#F08BF8 #C9F88B #8BF8B9
monochromatic
#E118F1 #E951F5 #F08BF8 #F7C5FB #FBE2FD

Accessibility & contrast

On white

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

On black

9.75
#F08BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BF8
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BF8#FFFFFF#000000##000000
##F08BF81.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#F497B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08bf8;
/* rgb */ color: rgb(240, 139, 248);
/* oklch */ color: oklch(78.1% 0.182 324.4);
Tailwind
colors: {
  custom: {
    50: '#f7affb',
    500: '#f08bf8',
    950: '#000000',
  },
}
SCSS
$custom: #f08bf8;
$custom-light: #f7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bf8",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 295.596,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78148,
    "c": 0.18197,
    "h": 324.4
  },
  "luminance": 0.43768
}

Semantic roles & 50–950 ramp

primary
#F08BF8
secondary
#D8F5D6
accent
#E50011
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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