#F08EFB#F08EFB

#F08EFB is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.7% C 0.180 H 323.4°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#F08EFB
RGBrgb(240, 142, 251)
HSLhsl(294, 93%, 77%)
HSVhsv(294, 43%, 98%)
CMYKcmyk(4.4%, 43.4%, 0%, 1.6%)
CIE-LABlab(72.79, 53.30, -39.09)
CIE-LCHlch(72.79, 66.09, 323.74°)
OKLaboklab(78.72% 0.1444 -0.1074)
OKLCHoklch(78.72% 0.18 323.4)
XYZxyz(63.0190, 44.8389, 96.5833)
Luminance0.4484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EFB #99FB8E
analogous
#BA8EFB #F08EFB #FB8ED0
triadic
#F08EFB #FBF08E #8EFBF0
tetradic
#F08EFB #FBBA8E #99FB8E #8ED0FB
square
#F08EFB #FBBA8E #99FB8E #8ED0FB
split-complementary
#F08EFB #D0FB8E #8EFBBA
monochromatic
#E018F7 #E853F9 #F08EFB #F8C9FD #FBE1FE

Accessibility & contrast

On white

2.11
#F08EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#F08EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EFB
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EFB#FFFFFF#000000##000000
##F08EFB1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#F49BB9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f08efb;
/* rgb */ color: rgb(240, 142, 251);
/* oklch */ color: oklch(78.7% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#f7b1fd',
    500: '#f08efb',
    950: '#000000',
  },
}
SCSS
$custom: #f08efb;
$custom-light: #f7b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08efb",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 293.945,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78719,
    "c": 0.17994,
    "h": 323.4
  },
  "luminance": 0.44836
}

Semantic roles & 50–950 ramp

primary
#F08EFB
secondary
#D8F6D5
accent
#E60017
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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