#F08CFA#F08CFA

#F08CFA is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.4% C 0.182 H 323.8°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#F08CFA
RGBrgb(240, 140, 250)
HSLhsl(295, 92%, 76%)
HSVhsv(295, 44%, 98%)
CMYKcmyk(4%, 44%, 0%, 2%)
CIE-LABlab(72.35, 54.12, -39.22)
CIE-LCHlch(72.35, 66.83, 324.07°)
OKLaboklab(78.38% 0.147 -0.1077)
OKLCHoklch(78.38% 0.182 323.8)
XYZxyz(62.5669, 44.1863, 95.6571)
Luminance0.4418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CFA #96FA8C
analogous
#B98CFA #F08CFA #FA8CCD
triadic
#F08CFA #FAF08C #8CFAF0
tetradic
#F08CFA #FAB98C #96FA8C #8CCDFA
square
#F08CFA #FAB98C #96FA8C #8CCDFA
split-complementary
#F08CFA #CDFA8C #8CFAB9
monochromatic
#E117F5 #E851F7 #F08CFA #F8C7FD #FBE2FE

Accessibility & contrast

On white

2.13
#F08CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#F08CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CFA
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CFA#FFFFFF#000000##000000
##F08CFA1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#F499B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08cfa;
/* rgb */ color: rgb(240, 140, 250);
/* oklch */ color: oklch(78.4% 0.182 323.8);
Tailwind
colors: {
  custom: {
    50: '#f7b0fc',
    500: '#f08cfa',
    950: '#000000',
  },
}
SCSS
$custom: #f08cfa;
$custom-light: #f7b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cfa",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 294.545,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78383,
    "c": 0.18224,
    "h": 323.8
  },
  "luminance": 0.44184
}

Semantic roles & 50–950 ramp

primary
#F08CFA
secondary
#D8F6D5
accent
#E60015
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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