#F08CFF#F08CFF

#F08CFF is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.6% C 0.187 H 322.2°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#F08CFF
RGBrgb(240, 140, 255)
HSLhsl(292, 100%, 77%)
HSVhsv(292, 45%, 100%)
CMYKcmyk(5.9%, 45.1%, 0%, 0%)
CIE-LABlab(72.56, 55.04, -41.61)
CIE-LCHlch(72.56, 69.00, 322.91°)
OKLaboklab(78.61% 0.1478 -0.1146)
OKLCHoklch(78.61% 0.187 322.2)
XYZxyz(63.3613, 44.5040, 99.8409)
Luminance0.4450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CFF #9BFF8C
analogous
#B78CFF #F08CFF #FF8CD4
triadic
#F08CFF #FFF08C #8CFFF0
tetradic
#F08CFF #FFB78C #9BFF8C #8CD4FF
square
#F08CFF #FFB78C #9BFF8C #8CD4FF
split-complementary
#F08CFF #D4FF8C #8CFFB7
monochromatic
#E012FF #E84FFF #F08CFF #F8C9FF #FBE0FF

Accessibility & contrast

On white

2.12
#F08CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#F08CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CFF
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CFF#FFFFFF#000000##000000
##F08CFF1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DABFF
Deuteranopia (green-blind)
#99B6FC
Tritanopia (blue-blind)
#F39ABA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08cff;
/* rgb */ color: rgb(240, 140, 255);
/* oklch */ color: oklch(78.6% 0.187 322.2);
Tailwind
colors: {
  custom: {
    50: '#f7b0ff',
    500: '#f08cff',
    950: '#000000',
  },
}
SCSS
$custom: #f08cff;
$custom-light: #f7b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cff",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 255
  },
  "hsl": {
    "h": 292.174,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7861,
    "c": 0.18704,
    "h": 322.2
  },
  "luminance": 0.44501
}

Semantic roles & 50–950 ramp

primary
#F08CFF
secondary
#D8F7D4
accent
#E6001E
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F08CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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