#F08CF2#F08CF2

#F08CF2 is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.0% C 0.175 H 326.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#F08CF2
RGBrgb(240, 140, 242)
HSLhsl(299, 80%, 75%)
HSVhsv(299, 42%, 95%)
CMYKcmyk(0.8%, 42.1%, 0%, 5.1%)
CIE-LABlab(72.02, 52.67, -35.37)
CIE-LCHlch(72.02, 63.44, 326.12°)
OKLaboklab(78.03% 0.1455 -0.0967)
OKLCHoklch(78.03% 0.175 326.4)
XYZxyz(61.3390, 43.6951, 89.1902)
Luminance0.4369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CF2 #8EF28C
analogous
#BD8CF2 #F08CF2 #F28CC1
triadic
#F08CF2 #F2F08C #8CF2F0
tetradic
#F08CF2 #F2BD8C #8EF28C #8CC1F2
square
#F08CF2 #F2BD8C #8EF28C #8CC1F2
split-complementary
#F08CF2 #C1F28C #8CF2BD
monochromatic
#E21EE6 #E955EC #F08CF2 #F7C3F8 #FBE4FC

Accessibility & contrast

On white

2.16
#F08CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#F08CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CF2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CF2#FFFFFF#000000##000000
##F08CF21.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F596B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08cf2;
/* rgb */ color: rgb(240, 140, 242);
/* oklch */ color: oklch(78.0% 0.175 326.4);
Tailwind
colors: {
  custom: {
    50: '#f7b0f6',
    500: '#f08cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f08cf2;
$custom-light: #f7b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cf2",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 298.824,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7803,
    "c": 0.17472,
    "h": 326.4
  },
  "luminance": 0.43692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F08CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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