#F08CFB#F08CFB

#F08CFB is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.4% C 0.183 H 323.5°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#F08CFB
RGBrgb(240, 140, 251)
HSLhsl(294, 93%, 77%)
HSVhsv(294, 44%, 98%)
CMYKcmyk(4.4%, 44.2%, 0%, 1.6%)
CIE-LABlab(72.39, 54.30, -39.70)
CIE-LCHlch(72.39, 67.26, 323.83°)
OKLaboklab(78.43% 0.1472 -0.1091)
OKLCHoklch(78.43% 0.183 323.5)
XYZxyz(62.7241, 44.2492, 96.4850)
Luminance0.4425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CFB #97FB8C
analogous
#B98CFB #F08CFB #FB8CCF
triadic
#F08CFB #FBF08C #8CFBF0
tetradic
#F08CFB #FBB98C #97FB8C #8CCFFB
square
#F08CFB #FBB98C #97FB8C #8CCFFB
split-complementary
#F08CFB #CFFB8C #8CFBB9
monochromatic
#E116F7 #E851F9 #F08CFB #F8C7FD #FBE1FE

Accessibility & contrast

On white

2.13
#F08CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#F08CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CFB
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CFB#FFFFFF#000000##000000
##F08CFB1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#F499B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08cfb;
/* rgb */ color: rgb(240, 140, 251);
/* oklch */ color: oklch(78.4% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#f7b0fd',
    500: '#f08cfb',
    950: '#000000',
  },
}
SCSS
$custom: #f08cfb;
$custom-light: #f7b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cfb",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 294.054,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78428,
    "c": 0.18318,
    "h": 323.5
  },
  "luminance": 0.44246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F08CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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