#F08AFA#F08AFA

#F08AFA is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.1% C 0.185 H 323.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#F08AFA
RGBrgb(240, 138, 250)
HSLhsl(295, 92%, 76%)
HSVhsv(295, 45%, 98%)
CMYKcmyk(4%, 44.8%, 0%, 2%)
CIE-LABlab(71.97, 55.12, -39.82)
CIE-LCHlch(71.97, 68.00, 324.15°)
OKLaboklab(78.09% 0.1498 -0.1094)
OKLCHoklch(78.09% 0.185 323.8)
XYZxyz(62.2773, 43.6071, 95.5605)
Luminance0.4360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AFA #94FA8A
analogous
#B88AFA #F08AFA #FA8ACC
triadic
#F08AFA #FAF08A #8AFAF0
tetradic
#F08AFA #FAB88A #94FA8A #8ACCFA
square
#F08AFA #FAB88A #94FA8A #8ACCFA
split-complementary
#F08AFA #CCFA8A #8AFAB8
monochromatic
#E115F5 #E84FF7 #F08AFA #F8C5FD #FBE2FE

Accessibility & contrast

On white

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

On black

9.72
#F08AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AFA
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AFA#FFFFFF#000000##000000
##F08AFA1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#F497B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08afa;
/* rgb */ color: rgb(240, 138, 250);
/* oklch */ color: oklch(78.1% 0.185 323.8);
Tailwind
colors: {
  custom: {
    50: '#f7affc',
    500: '#f08afa',
    950: '#000000',
  },
}
SCSS
$custom: #f08afa;
$custom-light: #f7affc;
$custom-dark: #000000;
JSON
{
  "hex": "#f08afa",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 294.643,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.18548,
    "h": 323.8
  },
  "luminance": 0.43604
}

Semantic roles & 50–950 ramp

primary
#F08AFA
secondary
#D8F6D5
accent
#E60014
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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