#F08BFE#F08BFE

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

Color values

HEX#F08BFE
RGBrgb(240, 139, 254)
HSLhsl(293, 98%, 77%)
HSVhsv(293, 45%, 100%)
CMYKcmyk(5.5%, 45.3%, 0%, 0.4%)
CIE-LABlab(72.33, 55.35, -41.43)
CIE-LCHlch(72.33, 69.14, 323.19°)
OKLaboklab(78.42% 0.149 -0.1141)
OKLCHoklch(78.42% 0.188 322.6)
XYZxyz(63.0553, 44.1489, 98.9469)
Luminance0.4415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BFE #99FE8B
analogous
#B78BFE #F08BFE #FE8BD2
triadic
#F08BFE #FEF08B #8BFEF0
tetradic
#F08BFE #FEB78B #99FE8B #8BD2FE
square
#F08BFE #FEB78B #99FE8B #8BD2FE
split-complementary
#F08BFE #D2FE8B #8BFEB7
monochromatic
#E012FD #E84EFD #F08BFE #F8C8FF #FBE1FF

Accessibility & contrast

On white

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

On black

9.83
#F08BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BFE
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BFE#FFFFFF#000000##000000
##F08BFE1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f08bfe;
/* rgb */ color: rgb(240, 139, 254);
/* oklch */ color: oklch(78.4% 0.188 322.6);
Tailwind
colors: {
  custom: {
    50: '#f7afff',
    500: '#f08bfe',
    950: '#000000',
  },
}
SCSS
$custom: #f08bfe;
$custom-light: #f7afff;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bfe",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 292.696,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7842,
    "c": 0.18768,
    "h": 322.6
  },
  "luminance": 0.44146
}

Semantic roles & 50–950 ramp

primary
#F08BFE
secondary
#D8F7D4
accent
#E6001C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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