#F08AFF#F08AFF

#F08AFF is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.3% C 0.190 H 322.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#F08AFF
RGBrgb(240, 138, 255)
HSLhsl(292, 100%, 77%)
HSVhsv(292, 46%, 100%)
CMYKcmyk(5.9%, 45.9%, 0%, 0%)
CIE-LABlab(72.18, 56.04, -42.21)
CIE-LCHlch(72.18, 70.16, 323.01°)
OKLaboklab(78.32% 0.1506 -0.1163)
OKLCHoklch(78.32% 0.19 322.3)
XYZxyz(63.0717, 43.9249, 99.7444)
Luminance0.4392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AFF #99FF8A
analogous
#B68AFF #F08AFF #FF8AD3
triadic
#F08AFF #FFF08A #8AFFF0
tetradic
#F08AFF #FFB68A #99FF8A #8AD3FF
square
#F08AFF #FFB68A #99FF8A #8AD3FF
split-complementary
#F08AFF #D3FF8A #8AFFB6
monochromatic
#E010FF #E84DFF #F08AFF #F8C7FF #FBE0FF

Accessibility & contrast

On white

2.15
#F08AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#F08AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AFF
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AFF#FFFFFF#000000##000000
##F08AFF1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#F398B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08aff;
/* rgb */ color: rgb(240, 138, 255);
/* oklch */ color: oklch(78.3% 0.190 322.3);
Tailwind
colors: {
  custom: {
    50: '#f7afff',
    500: '#f08aff',
    950: '#000000',
  },
}
SCSS
$custom: #f08aff;
$custom-light: #f7afff;
$custom-dark: #000000;
JSON
{
  "hex": "#f08aff",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 292.308,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78322,
    "c": 0.19025,
    "h": 322.3
  },
  "luminance": 0.43922
}

Semantic roles & 50–950 ramp

primary
#F08AFF
secondary
#D8F7D4
accent
#E6001D
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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