#F08FEC#F08FEC

#F08FEC is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.2% C 0.164 H 328.5°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#F08FEC
RGBrgb(240, 143, 236)
HSLhsl(302, 76%, 75%)
HSVhsv(302, 40%, 94%)
CMYKcmyk(0%, 40.4%, 1.7%, 5.9%)
CIE-LABlab(72.38, 50.09, -31.53)
CIE-LCHlch(72.38, 59.19, 327.81°)
OKLaboklab(78.22% 0.14 -0.0859)
OKLCHoklch(78.22% 0.164 328.5)
XYZxyz(60.8970, 44.2293, 84.6700)
Luminance0.4423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FEC #8FF093
analogous
#C38FF0 #F08FEC #F08FBC
triadic
#F08FEC #ECF08F #8FECF0
tetradic
#F08FEC #F0C38F #8FF093 #8FBCF0
square
#F08FEC #F0C38F #8FF093 #8FBCF0
split-complementary
#F08FEC #BCF08F #8FF0C3
monochromatic
#E223DA #E959E3 #F08FEC #F7C5F5 #FBE4FA

Accessibility & contrast

On white

2.13
#F08FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#F08FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FEC
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FEC#FFFFFF#000000##000000
##F08FEC1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#F697B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08fec;
/* rgb */ color: rgb(240, 143, 236);
/* oklch */ color: oklch(78.2% 0.164 328.5);
Tailwind
colors: {
  custom: {
    50: '#f6b2f2',
    500: '#f08fec',
    950: '#000000',
  },
}
SCSS
$custom: #f08fec;
$custom-light: #f6b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f08fec",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 302.474,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.16424,
    "h": 328.5
  },
  "luminance": 0.44226
}

Semantic roles & 50–950 ramp

primary
#F08FEC
secondary
#D8F3D9
accent
#D9150D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F08FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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