#F08BF5#F08BF5

#F08BF5 is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.0% C 0.179 H 325.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#F08BF5
RGBrgb(240, 139, 245)
HSLhsl(297, 84%, 75%)
HSVhsv(297, 43%, 96%)
CMYKcmyk(2%, 43.3%, 0%, 3.9%)
CIE-LABlab(71.95, 53.71, -37.12)
CIE-LCHlch(71.95, 65.29, 325.35°)
OKLaboklab(78.02% 0.1475 -0.1017)
OKLCHoklch(78.02% 0.179 325.4)
XYZxyz(61.6478, 43.5859, 91.5342)
Luminance0.4358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BF5 #90F58B
analogous
#BB8BF5 #F08BF5 #F58BC5
triadic
#F08BF5 #F5F08B #8BF5F0
tetradic
#F08BF5 #F5BB8B #90F58B #8BC5F5
square
#F08BF5 #F5BB8B #90F58B #8BC5F5
split-complementary
#F08BF5 #C5F58B #8BF5BB
monochromatic
#E11AEB #E953F0 #F08BF5 #F7C3FA #FBE3FD

Accessibility & contrast

On white

2.16
#F08BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#F08BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BF5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BF5#FFFFFF#000000##000000
##F08BF51.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F9
Deuteranopia (green-blind)
#9CB5F2
Tritanopia (blue-blind)
#F596B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08bf5;
/* rgb */ color: rgb(240, 139, 245);
/* oklch */ color: oklch(78.0% 0.179 325.4);
Tailwind
colors: {
  custom: {
    50: '#f7aff8',
    500: '#f08bf5',
    950: '#000000',
  },
}
SCSS
$custom: #f08bf5;
$custom-light: #f7aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bf5",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 297.17,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78015,
    "c": 0.17915,
    "h": 325.4
  },
  "luminance": 0.43583
}

Semantic roles & 50–950 ramp

primary
#F08BF5
secondary
#D8F5D6
accent
#E1050F
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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