#F08BFA#F08BFA

#F08BFA is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.2% C 0.184 H 323.8°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#F08BFA
RGBrgb(240, 139, 250)
HSLhsl(295, 92%, 76%)
HSVhsv(295, 44%, 98%)
CMYKcmyk(4%, 44.4%, 0%, 2%)
CIE-LABlab(72.16, 54.62, -39.52)
CIE-LCHlch(72.16, 67.42, 324.11°)
OKLaboklab(78.24% 0.1484 -0.1086)
OKLCHoklch(78.24% 0.184 323.8)
XYZxyz(62.4214, 43.8954, 95.6086)
Luminance0.4389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BFA #95FA8B
analogous
#B98BFA #F08BFA #FA8BCD
triadic
#F08BFA #FAF08B #8BFAF0
tetradic
#F08BFA #FAB98B #95FA8B #8BCDFA
square
#F08BFA #FAB98B #95FA8B #8BCDFA
split-complementary
#F08BFA #CDFA8B #8BFAB9
monochromatic
#E116F5 #E850F7 #F08BFA #F8C6FD #FBE2FE

Accessibility & contrast

On white

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

On black

9.78
#F08BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BFA
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BFA#FFFFFF#000000##000000
##F08BFA1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f08bfa;
/* rgb */ color: rgb(240, 139, 250);
/* oklch */ color: oklch(78.2% 0.184 323.8);
Tailwind
colors: {
  custom: {
    50: '#f7affc',
    500: '#f08bfa',
    950: '#000000',
  },
}
SCSS
$custom: #f08bfa;
$custom-light: #f7affc;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bfa",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 294.595,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78238,
    "c": 0.18386,
    "h": 323.8
  },
  "luminance": 0.43893
}

Semantic roles & 50–950 ramp

primary
#F08BFA
secondary
#D8F6D5
accent
#E60015
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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