#F08DFE#F08DFE

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

Color values

HEX#F08DFE
RGBrgb(240, 141, 254)
HSLhsl(293, 98%, 77%)
HSVhsv(293, 44%, 100%)
CMYKcmyk(5.5%, 44.5%, 0%, 0.4%)
CIE-LABlab(72.72, 54.35, -40.83)
CIE-LCHlch(72.72, 67.98, 323.09°)
OKLaboklab(78.71% 0.1463 -0.1123)
OKLCHoklch(78.71% 0.184 322.5)
XYZxyz(63.3475, 44.7334, 99.0443)
Luminance0.4473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DFE #9BFE8D
analogous
#B78DFE #F08DFE #FE8DD4
triadic
#F08DFE #FEF08D #8DFEF0
tetradic
#F08DFE #FEB78D #9BFE8D #8DD4FE
square
#F08DFE #FEB78D #9BFE8D #8DD4FE
split-complementary
#F08DFE #D4FE8D #8DFEB7
monochromatic
#E014FD #E850FD #F08DFE #F8CAFF #FBE1FF

Accessibility & contrast

On white

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

On black

9.95
#F08DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DFE
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DFE#FFFFFF#000000##000000
##F08DFE1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#9AB6FB
Tritanopia (blue-blind)
#F39BBA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08dfe;
/* rgb */ color: rgb(240, 141, 254);
/* oklch */ color: oklch(78.7% 0.184 322.5);
Tailwind
colors: {
  custom: {
    50: '#f7b1ff',
    500: '#f08dfe',
    950: '#000000',
  },
}
SCSS
$custom: #f08dfe;
$custom-light: #f7b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f08dfe",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 292.566,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78709,
    "c": 0.18446,
    "h": 322.5
  },
  "luminance": 0.44731
}

Semantic roles & 50–950 ramp

primary
#F08DFE
secondary
#D8F7D4
accent
#E6001C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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