#F08DFD#F08DFD

#F08DFD is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.7% C 0.183 H 322.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#F08DFD
RGBrgb(240, 141, 253)
HSLhsl(293, 97%, 77%)
HSVhsv(293, 44%, 99%)
CMYKcmyk(5.1%, 44.3%, 0%, 0.8%)
CIE-LABlab(72.67, 54.17, -40.35)
CIE-LCHlch(72.67, 67.55, 323.32°)
OKLaboklab(78.66% 0.1461 -0.111)
OKLCHoklch(78.66% 0.183 322.8)
XYZxyz(63.1878, 44.6695, 98.2031)
Luminance0.4467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DFD #9AFD8D
analogous
#B88DFD #F08DFD #FD8DD2
triadic
#F08DFD #FDF08D #8DFDF0
tetradic
#F08DFD #FDB88D #9AFD8D #8DD2FD
square
#F08DFD #FDB88D #9AFD8D #8DD2FD
split-complementary
#F08DFD #D2FD8D #8DFDB8
monochromatic
#E015FB #E851FC #F08DFD #F8C9FE #FBE1FE

Accessibility & contrast

On white

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

On black

9.93
#F08DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DFD
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DFD#FFFFFF#000000##000000
##F08DFD1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#F39AB9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08dfd;
/* rgb */ color: rgb(240, 141, 253);
/* oklch */ color: oklch(78.7% 0.183 322.8);
Tailwind
colors: {
  custom: {
    50: '#f7b1fe',
    500: '#f08dfd',
    950: '#000000',
  },
}
SCSS
$custom: #f08dfd;
$custom-light: #f7b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f08dfd",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 293.036,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78663,
    "c": 0.18349,
    "h": 322.8
  },
  "luminance": 0.44667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F08DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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