#F08EF5#F08EF5

#F08EF5 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.5% C 0.174 H 325.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#F08EF5
RGBrgb(240, 142, 245)
HSLhsl(297, 84%, 76%)
HSVhsv(297, 42%, 96%)
CMYKcmyk(2%, 42%, 0%, 3.9%)
CIE-LABlab(72.54, 52.20, -36.20)
CIE-LCHlch(72.54, 63.53, 325.26°)
OKLaboklab(78.46% 0.1433 -0.0991)
OKLCHoklch(78.46% 0.174 325.3)
XYZxyz(62.0882, 44.4666, 91.6809)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EF5 #93F58E
analogous
#BC8EF5 #F08EF5 #F58EC6
triadic
#F08EF5 #F5F08E #8EF5F0
tetradic
#F08EF5 #F5BC8E #93F58E #8EC6F5
square
#F08EF5 #F5BC8E #93F58E #8EC6F5
split-complementary
#F08EF5 #C6F58E #8EF5BC
monochromatic
#E11EEB #E956F0 #F08EF5 #F7C6FA #FBE3FD

Accessibility & contrast

On white

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

On black

9.89
#F08EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EF5
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EF5#FFFFFF#000000##000000
##F08EF51.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#9FB6F2
Tritanopia (blue-blind)
#F599B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08ef5;
/* rgb */ color: rgb(240, 142, 245);
/* oklch */ color: oklch(78.5% 0.174 325.3);
Tailwind
colors: {
  custom: {
    50: '#f7b1f8',
    500: '#f08ef5',
    950: '#000000',
  },
}
SCSS
$custom: #f08ef5;
$custom-light: #f7b1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ef5",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 297.087,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78455,
    "c": 0.17423,
    "h": 325.3
  },
  "luminance": 0.44464
}

Semantic roles & 50–950 ramp

primary
#F08EF5
secondary
#D8F4D7
accent
#E00510
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F08EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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