#F08FF2#F08FF2

#F08FF2 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.5% C 0.170 H 326.3°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#F08FF2
RGBrgb(240, 143, 242)
HSLhsl(299, 79%, 75%)
HSVhsv(299, 41%, 95%)
CMYKcmyk(0.8%, 40.9%, 0%, 5.1%)
CIE-LABlab(72.62, 51.16, -34.45)
CIE-LCHlch(72.62, 61.67, 326.04°)
OKLaboklab(78.47% 0.1413 -0.0941)
OKLCHoklch(78.47% 0.17 326.3)
XYZxyz(61.7834, 44.5838, 89.3383)
Luminance0.4458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FF2 #91F28F
analogous
#BE8FF2 #F08FF2 #F28FC2
triadic
#F08FF2 #F2F08F #8FF2F0
tetradic
#F08FF2 #F2BE8F #91F28F #8FC2F2
square
#F08FF2 #F2BE8F #91F28F #8FC2F2
split-complementary
#F08FF2 #C2F28F #8FF2BE
monochromatic
#E121E5 #E958EC #F08FF2 #F7C6F8 #FBE4FC

Accessibility & contrast

On white

2.12
#F08FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#F08FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FF2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FF2#FFFFFF#000000##000000
##F08FF21.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#F599B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08ff2;
/* rgb */ color: rgb(240, 143, 242);
/* oklch */ color: oklch(78.5% 0.170 326.3);
Tailwind
colors: {
  custom: {
    50: '#f7b2f6',
    500: '#f08ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f08ff2;
$custom-light: #f7b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ff2",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 298.788,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78473,
    "c": 0.16976,
    "h": 326.3
  },
  "luminance": 0.44581
}

Semantic roles & 50–950 ramp

primary
#F08FF2
secondary
#D8F4D7
accent
#DB0A0E
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F08FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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