#F08DFA#F08DFA

#F08DFA is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.5% C 0.181 H 323.7°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#F08DFA
RGBrgb(240, 141, 250)
HSLhsl(294, 92%, 77%)
HSVhsv(294, 44%, 98%)
CMYKcmyk(4%, 43.6%, 0%, 2%)
CIE-LABlab(72.55, 53.62, -38.91)
CIE-LCHlch(72.55, 66.25, 324.03°)
OKLaboklab(78.53% 0.1456 -0.1069)
OKLCHoklch(78.53% 0.181 323.7)
XYZxyz(62.7137, 44.4798, 95.7060)
Luminance0.4448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DFA #97FA8D
analogous
#BA8DFA #F08DFA #FA8DCE
triadic
#F08DFA #FAF08D #8DFAF0
tetradic
#F08DFA #FABA8D #97FA8D #8DCEFA
square
#F08DFA #FABA8D #97FA8D #8DCEFA
split-complementary
#F08DFA #CEFA8D #8DFABA
monochromatic
#E118F5 #E852F7 #F08DFA #F8C8FD #FBE2FE

Accessibility & contrast

On white

2.12
#F08DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#F08DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DFA
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DFA#FFFFFF#000000##000000
##F08DFA1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#9CB6F7
Tritanopia (blue-blind)
#F499B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08dfa;
/* rgb */ color: rgb(240, 141, 250);
/* oklch */ color: oklch(78.5% 0.181 323.7);
Tailwind
colors: {
  custom: {
    50: '#f7b1fc',
    500: '#f08dfa',
    950: '#000000',
  },
}
SCSS
$custom: #f08dfa;
$custom-light: #f7b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f08dfa",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 294.495,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78528,
    "c": 0.18061,
    "h": 323.7
  },
  "luminance": 0.44477
}

Semantic roles & 50–950 ramp

primary
#F08DFA
secondary
#D8F6D5
accent
#E60015
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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