#F08DF2#F08DF2

#F08DF2 is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.2% C 0.173 H 326.4°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#F08DF2
RGBrgb(240, 141, 242)
HSLhsl(299, 80%, 75%)
HSVhsv(299, 42%, 95%)
CMYKcmyk(0.8%, 41.7%, 0%, 5.1%)
CIE-LABlab(72.22, 52.17, -35.06)
CIE-LCHlch(72.22, 62.85, 326.09°)
OKLaboklab(78.18% 0.1441 -0.0959)
OKLCHoklch(78.18% 0.173 326.4)
XYZxyz(61.4858, 43.9887, 89.2391)
Luminance0.4399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DF2 #8FF28D
analogous
#BE8DF2 #F08DF2 #F28DC1
triadic
#F08DF2 #F2F08D #8DF2F0
tetradic
#F08DF2 #F2BE8D #8FF28D #8DC1F2
square
#F08DF2 #F2BE8D #8FF28D #8DC1F2
split-complementary
#F08DF2 #C1F28D #8DF2BE
monochromatic
#E21FE5 #E956EC #F08DF2 #F7C4F8 #FBE4FC

Accessibility & contrast

On white

2.14
#F08DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#F08DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DF2
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DF2#FFFFFF#000000##000000
##F08DF21.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#F597B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08df2;
/* rgb */ color: rgb(240, 141, 242);
/* oklch */ color: oklch(78.2% 0.173 326.4);
Tailwind
colors: {
  custom: {
    50: '#f7b1f6',
    500: '#f08df2',
    950: '#000000',
  },
}
SCSS
$custom: #f08df2;
$custom-light: #f7b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08df2",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 298.812,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78177,
    "c": 0.17307,
    "h": 326.4
  },
  "luminance": 0.43986
}

Semantic roles & 50–950 ramp

primary
#F08DF2
secondary
#D8F4D7
accent
#DC0A0E
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F08DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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