#F08DFC#F08DFC

#F08DFC is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.6% C 0.183 H 323.1°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#F08DFC
RGBrgb(240, 141, 252)
HSLhsl(294, 95%, 77%)
HSVhsv(294, 44%, 99%)
CMYKcmyk(4.8%, 44%, 0%, 1.2%)
CIE-LABlab(72.63, 53.98, -39.87)
CIE-LCHlch(72.63, 67.11, 323.55°)
OKLaboklab(78.62% 0.146 -0.1096)
OKLCHoklch(78.62% 0.183 323.1)
XYZxyz(63.0289, 44.6059, 97.3663)
Luminance0.4460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DFC #99FC8D
analogous
#B98DFC #F08DFC #FC8DD0
triadic
#F08DFC #FCF08D #8DFCF0
tetradic
#F08DFC #FCB98D #99FC8D #8DD0FC
square
#F08DFC #FCB98D #99FC8D #8DD0FC
split-complementary
#F08DFC #D0FC8D #8DFCB9
monochromatic
#E016F9 #E851FA #F08DFC #F8C9FE #FBE1FE

Accessibility & contrast

On white

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

On black

9.92
#F08DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DFC
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DFC#FFFFFF#000000##000000
##F08DFC1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f08dfc;
/* rgb */ color: rgb(240, 141, 252);
/* oklch */ color: oklch(78.6% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#f7b1fd',
    500: '#f08dfc',
    950: '#000000',
  },
}
SCSS
$custom: #f08dfc;
$custom-light: #f7b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08dfc",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 293.514,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78618,
    "c": 0.18253,
    "h": 323.1
  },
  "luminance": 0.44603
}

Semantic roles & 50–950 ramp

primary
#F08DFC
secondary
#D8F6D5
accent
#E60019
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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