#F08EF9#F08EF9

#F08EF9 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.6% C 0.178 H 324.0°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#F08EF9
RGBrgb(240, 142, 249)
HSLhsl(295, 90%, 77%)
HSVhsv(295, 43%, 98%)
CMYKcmyk(3.6%, 43%, 0%, 2.4%)
CIE-LABlab(72.70, 52.93, -38.13)
CIE-LCHlch(72.70, 65.23, 324.23°)
OKLaboklab(78.63% 0.144 -0.1046)
OKLCHoklch(78.63% 0.178 324)
XYZxyz(62.7054, 44.7135, 94.9317)
Luminance0.4471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EF9 #97F98E
analogous
#BB8EF9 #F08EF9 #F98ECD
triadic
#F08EF9 #F9F08E #8EF9F0
tetradic
#F08EF9 #F9BB8E #97F98E #8ECDF9
square
#F08EF9 #F9BB8E #97F98E #8ECDF9
split-complementary
#F08EF9 #CDF98E #8EF9BB
monochromatic
#E11AF3 #E854F6 #F08EF9 #F8C8FC #FBE2FD

Accessibility & contrast

On white

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

On black

9.94
#F08EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EF9
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EF9#FFFFFF#000000##000000
##F08EF91.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFD
Deuteranopia (green-blind)
#9DB7F6
Tritanopia (blue-blind)
#F49AB8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08ef9;
/* rgb */ color: rgb(240, 142, 249);
/* oklch */ color: oklch(78.6% 0.178 324.0);
Tailwind
colors: {
  custom: {
    50: '#f7b1fb',
    500: '#f08ef9',
    950: '#000000',
  },
}
SCSS
$custom: #f08ef9;
$custom-light: #f7b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ef9",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 294.953,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7863,
    "c": 0.17802,
    "h": 324
  },
  "luminance": 0.44711
}

Semantic roles & 50–950 ramp

primary
#F08EF9
secondary
#D8F6D5
accent
#E60013
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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