#F08EF2#F08EF2

#F08EF2 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.3% C 0.171 H 326.3°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#F08EF2
RGBrgb(240, 142, 242)
HSLhsl(299, 79%, 75%)
HSVhsv(299, 41%, 95%)
CMYKcmyk(0.8%, 41.3%, 0%, 5.1%)
CIE-LABlab(72.42, 51.66, -34.76)
CIE-LCHlch(72.42, 62.27, 326.07°)
OKLaboklab(78.33% 0.1427 -0.095)
OKLCHoklch(78.33% 0.171 326.3)
XYZxyz(61.6339, 44.2849, 89.2885)
Luminance0.4428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EF2 #90F28E
analogous
#BE8EF2 #F08EF2 #F28EC2
triadic
#F08EF2 #F2F08E #8EF2F0
tetradic
#F08EF2 #F2BE8E #90F28E #8EC2F2
square
#F08EF2 #F2BE8E #90F28E #8EC2F2
split-complementary
#F08EF2 #C2F28E #8EF2BE
monochromatic
#E120E5 #E957EC #F08EF2 #F7C5F8 #FBE4FC

Accessibility & contrast

On white

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

On black

9.86
#F08EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EF2
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EF2#FFFFFF#000000##000000
##F08EF21.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F598B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08ef2;
/* rgb */ color: rgb(240, 142, 242);
/* oklch */ color: oklch(78.3% 0.171 326.3);
Tailwind
colors: {
  custom: {
    50: '#f7b1f6',
    500: '#f08ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f08ef2;
$custom-light: #f7b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ef2",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 298.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78325,
    "c": 0.17142,
    "h": 326.3
  },
  "luminance": 0.44282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F08EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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