#F08BFD#F08BFD

#F08BFD is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.4% C 0.187 H 322.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#F08BFD
RGBrgb(240, 139, 253)
HSLhsl(293, 97%, 77%)
HSVhsv(293, 45%, 99%)
CMYKcmyk(5.1%, 45.1%, 0%, 0.8%)
CIE-LABlab(72.29, 55.17, -40.95)
CIE-LCHlch(72.29, 68.71, 323.41°)
OKLaboklab(78.37% 0.1489 -0.1127)
OKLCHoklch(78.37% 0.187 322.9)
XYZxyz(62.8956, 44.0850, 98.1057)
Luminance0.4408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BFD #98FD8B
analogous
#B78BFD #F08BFD #FD8BD1
triadic
#F08BFD #FDF08B #8BFDF0
tetradic
#F08BFD #FDB78B #98FD8B #8BD1FD
square
#F08BFD #FDB78B #98FD8B #8BD1FD
split-complementary
#F08BFD #D1FD8B #8BFDB7
monochromatic
#E013FB #E84FFC #F08BFD #F8C7FE #FBE1FE

Accessibility & contrast

On white

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

On black

9.82
#F08BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BFD
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BFD#FFFFFF#000000##000000
##F08BFD1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#99B5FA
Tritanopia (blue-blind)
#F399B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08bfd;
/* rgb */ color: rgb(240, 139, 253);
/* oklch */ color: oklch(78.4% 0.187 322.9);
Tailwind
colors: {
  custom: {
    50: '#f7affe',
    500: '#f08bfd',
    950: '#000000',
  },
}
SCSS
$custom: #f08bfd;
$custom-light: #f7affe;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bfd",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 293.158,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78374,
    "c": 0.18672,
    "h": 322.9
  },
  "luminance": 0.44082
}

Semantic roles & 50–950 ramp

primary
#F08BFD
secondary
#D8F7D4
accent
#E6001A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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