#F08EFD#F08EFD

#F08EFD is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.8% C 0.182 H 322.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#F08EFD
RGBrgb(240, 142, 253)
HSLhsl(293, 97%, 77%)
HSVhsv(293, 44%, 99%)
CMYKcmyk(5.1%, 43.9%, 0%, 0.8%)
CIE-LABlab(72.87, 53.67, -40.04)
CIE-LCHlch(72.87, 66.96, 323.27°)
OKLaboklab(78.81% 0.1448 -0.1101)
OKLCHoklch(78.81% 0.182 322.7)
XYZxyz(63.3359, 44.9657, 98.2525)
Luminance0.4496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EFD #9BFD8E
analogous
#B98EFD #F08EFD #FD8ED3
triadic
#F08EFD #FDF08E #8EFDF0
tetradic
#F08EFD #FDB98E #9BFD8E #8ED3FD
square
#F08EFD #FDB98E #9BFD8E #8ED3FD
split-complementary
#F08EFD #D3FD8E #8EFDB9
monochromatic
#E016FB #E852FC #F08EFD #F8CAFE #FBE1FE

Accessibility & contrast

On white

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

On black

9.99
#F08EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EFD
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EFD#FFFFFF#000000##000000
##F08EFD1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#9BB7FA
Tritanopia (blue-blind)
#F39BBA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f08efd;
/* rgb */ color: rgb(240, 142, 253);
/* oklch */ color: oklch(78.8% 0.182 322.7);
Tailwind
colors: {
  custom: {
    50: '#f7b1fe',
    500: '#f08efd',
    950: '#000000',
  },
}
SCSS
$custom: #f08efd;
$custom-light: #f7b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f08efd",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 292.973,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78809,
    "c": 0.18186,
    "h": 322.7
  },
  "luminance": 0.44963
}

Semantic roles & 50–950 ramp

primary
#F08EFD
secondary
#D8F7D4
accent
#E6001B
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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