#F08CFD#F08CFD

#F08CFD is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.5% C 0.185 H 322.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#F08CFD
RGBrgb(240, 140, 253)
HSLhsl(293, 97%, 77%)
HSVhsv(293, 45%, 99%)
CMYKcmyk(5.1%, 44.7%, 0%, 0.8%)
CIE-LABlab(72.48, 54.67, -40.65)
CIE-LCHlch(72.48, 68.13, 323.37°)
OKLaboklab(78.52% 0.1475 -0.1118)
OKLCHoklch(78.52% 0.185 322.8)
XYZxyz(63.0410, 44.3759, 98.1542)
Luminance0.4437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CFD #99FD8C
analogous
#B78CFD #F08CFD #FD8CD2
triadic
#F08CFD #FDF08C #8CFDF0
tetradic
#F08CFD #FDB78C #99FD8C #8CD2FD
square
#F08CFD #FDB78C #99FD8C #8CD2FD
split-complementary
#F08CFD #D2FD8C #8CFDB7
monochromatic
#E014FB #E850FC #F08CFD #F8C8FE #FBE1FE

Accessibility & contrast

On white

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

On black

9.87
#F08CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CFD
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CFD#FFFFFF#000000##000000
##F08CFD1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#F399B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08cfd;
/* rgb */ color: rgb(240, 140, 253);
/* oklch */ color: oklch(78.5% 0.185 322.8);
Tailwind
colors: {
  custom: {
    50: '#f7b0fe',
    500: '#f08cfd',
    950: '#000000',
  },
}
SCSS
$custom: #f08cfd;
$custom-light: #f7b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cfd",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 293.097,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78518,
    "c": 0.18511,
    "h": 322.8
  },
  "luminance": 0.44373
}

Semantic roles & 50–950 ramp

primary
#F08CFD
secondary
#D8F7D4
accent
#E6001A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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