#F08DEF#F08DEF

#F08DEF is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.0% C 0.170 H 327.4°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#F08DEF
RGBrgb(240, 141, 239)
HSLhsl(301, 77%, 75%)
HSVhsv(301, 41%, 94%)
CMYKcmyk(0%, 41.3%, 0.4%, 5.9%)
CIE-LABlab(72.10, 51.63, -33.61)
CIE-LCHlch(72.10, 61.61, 326.94°)
OKLaboklab(78.05% 0.1435 -0.0917)
OKLCHoklch(78.05% 0.17 327.4)
XYZxyz(61.0389, 43.8099, 86.8856)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DEF #8DF08E
analogous
#C08DF0 #F08DEF #F08DBE
triadic
#F08DEF #EFF08D #8DEFF0
tetradic
#F08DEF #F0C08D #8DF08E #8DBEF0
square
#F08DEF #F0C08D #8DF08E #8DBEF0
split-complementary
#F08DEF #BEF08D #8DF0C0
monochromatic
#E221E0 #E957E7 #F08DEF #F7C3F7 #FBE4FB

Accessibility & contrast

On white

2.15
#F08DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#F08DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DEF
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DEF#FFFFFF#000000##000000
##F08DEF1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F2
Deuteranopia (green-blind)
#A0B5EC
Tritanopia (blue-blind)
#F696B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08def;
/* rgb */ color: rgb(240, 141, 239);
/* oklch */ color: oklch(78.0% 0.170 327.4);
Tailwind
colors: {
  custom: {
    50: '#f7b1f4',
    500: '#f08def',
    950: '#000000',
  },
}
SCSS
$custom: #f08def;
$custom-light: #f7b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f08def",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 300.606,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.78048,
    "c": 0.1703,
    "h": 327.4
  },
  "luminance": 0.43807
}

Semantic roles & 50–950 ramp

primary
#F08DEF
secondary
#D8F3D8
accent
#D90F0D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F08DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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