#F08EFC#F08EFC

#F08EFC is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.8% C 0.181 H 323.1°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#F08EFC
RGBrgb(240, 142, 252)
HSLhsl(293, 95%, 77%)
HSVhsv(293, 44%, 99%)
CMYKcmyk(4.8%, 43.7%, 0%, 1.2%)
CIE-LABlab(72.83, 53.48, -39.57)
CIE-LCHlch(72.83, 66.53, 323.51°)
OKLaboklab(78.76% 0.1446 -0.1087)
OKLCHoklch(78.76% 0.181 323.1)
XYZxyz(63.1771, 44.9022, 97.4157)
Luminance0.4490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EFC #9AFC8E
analogous
#B98EFC #F08EFC #FC8ED1
triadic
#F08EFC #FCF08E #8EFCF0
tetradic
#F08EFC #FCB98E #9AFC8E #8ED1FC
square
#F08EFC #FCB98E #9AFC8E #8ED1FC
split-complementary
#F08EFC #D1FC8E #8EFCB9
monochromatic
#E017F9 #E852FA #F08EFC #F8CAFE #FBE1FE

Accessibility & contrast

On white

2.10
#F08EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#F08EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EFC
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EFC#FFFFFF#000000##000000
##F08EFC1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f08efc;
/* rgb */ color: rgb(240, 142, 252);
/* oklch */ color: oklch(78.8% 0.181 323.1);
Tailwind
colors: {
  custom: {
    50: '#f7b1fd',
    500: '#f08efc',
    950: '#000000',
  },
}
SCSS
$custom: #f08efc;
$custom-light: #f7b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08efc",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 293.455,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78764,
    "c": 0.18089,
    "h": 323.1
  },
  "luminance": 0.449
}

Semantic roles & 50–950 ramp

primary
#F08EFC
secondary
#D8F6D5
accent
#E60019
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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