#F08CEF#F08CEF

#F08CEF is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.9% C 0.172 H 327.4°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#F08CEF
RGBrgb(240, 140, 239)
HSLhsl(301, 77%, 75%)
HSVhsv(301, 42%, 94%)
CMYKcmyk(0%, 41.7%, 0.4%, 5.9%)
CIE-LABlab(71.90, 52.14, -33.91)
CIE-LCHlch(71.90, 62.20, 326.96°)
OKLaboklab(77.9% 0.1449 -0.0926)
OKLCHoklch(77.9% 0.172 327.4)
XYZxyz(60.8921, 43.5164, 86.8367)
Luminance0.4351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CEF #8CF08D
analogous
#BF8CF0 #F08CEF #F08CBD
triadic
#F08CEF #EFF08C #8CEFF0
tetradic
#F08CEF #F0BF8C #8CF08D #8CBDF0
square
#F08CEF #F0BF8C #8CF08D #8CBDF0
split-complementary
#F08CEF #BDF08C #8CF0BF
monochromatic
#E220E0 #E956E7 #F08CEF #F7C2F7 #FBE4FB

Accessibility & contrast

On white

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

On black

9.70
#F08CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CEF
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CEF#FFFFFF#000000##000000
##F08CEF1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#9FB5EC
Tritanopia (blue-blind)
#F696B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08cef;
/* rgb */ color: rgb(240, 140, 239);
/* oklch */ color: oklch(77.9% 0.172 327.4);
Tailwind
colors: {
  custom: {
    50: '#f7b0f4',
    500: '#f08cef',
    950: '#000000',
  },
}
SCSS
$custom: #f08cef;
$custom-light: #f7b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cef",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 300.6,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77901,
    "c": 0.17196,
    "h": 327.4
  },
  "luminance": 0.43513
}

Semantic roles & 50–950 ramp

primary
#F08CEF
secondary
#D8F3D8
accent
#D90E0C
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F08CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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