#F08BF2#F08BF2

#F08BF2 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.9% C 0.176 H 326.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#F08BF2
RGBrgb(240, 139, 242)
HSLhsl(299, 80%, 75%)
HSVhsv(299, 43%, 95%)
CMYKcmyk(0.8%, 42.6%, 0%, 5.1%)
CIE-LABlab(71.83, 53.17, -35.67)
CIE-LCHlch(71.83, 64.03, 326.14°)
OKLaboklab(77.88% 0.1469 -0.0976)
OKLCHoklch(77.88% 0.176 326.4)
XYZxyz(61.1936, 43.4042, 89.1417)
Luminance0.4340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BF2 #8DF28B
analogous
#BD8BF2 #F08BF2 #F28BC1
triadic
#F08BF2 #F2F08B #8BF2F0
tetradic
#F08BF2 #F2BD8B #8DF28B #8BC1F2
square
#F08BF2 #F2BD8B #8DF28B #8BC1F2
split-complementary
#F08BF2 #C1F28B #8BF2BD
monochromatic
#E21DE6 #E954EC #F08BF2 #F7C2F8 #FBE3FC

Accessibility & contrast

On white

2.17
#F08BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#F08BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BF2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BF2#FFFFFF#000000##000000
##F08BF21.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F596B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08bf2;
/* rgb */ color: rgb(240, 139, 242);
/* oklch */ color: oklch(77.9% 0.176 326.4);
Tailwind
colors: {
  custom: {
    50: '#f7aff6',
    500: '#f08bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f08bf2;
$custom-light: #f7aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bf2",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 298.835,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77884,
    "c": 0.17636,
    "h": 326.4
  },
  "luminance": 0.43401
}

Semantic roles & 50–950 ramp

primary
#F08BF2
secondary
#D8F4D7
accent
#DC090D
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F08BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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