#F08EF3#F08EF3

#F08EF3 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.4% C 0.172 H 326.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#F08EF3
RGBrgb(240, 142, 243)
HSLhsl(298, 81%, 75%)
HSVhsv(298, 42%, 95%)
CMYKcmyk(1.2%, 41.6%, 0%, 4.7%)
CIE-LABlab(72.46, 51.84, -35.24)
CIE-LCHlch(72.46, 62.68, 325.79°)
OKLaboklab(78.37% 0.1429 -0.0964)
OKLCHoklch(78.37% 0.172 326)
XYZxyz(61.7845, 44.3452, 90.0817)
Luminance0.4434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EF3 #91F38E
analogous
#BD8EF3 #F08EF3 #F38EC3
triadic
#F08EF3 #F3F08E #8EF3F0
tetradic
#F08EF3 #F3BD8E #91F38E #8EC3F3
square
#F08EF3 #F3BD8E #91F38E #8EC3F3
split-complementary
#F08EF3 #C3F38E #8EF3BD
monochromatic
#E11FE7 #E957ED #F08EF3 #F7C5F9 #FBE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F08EF3#FFFFFF#000000##000000
##F08EF31.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)
#85AAF7
Deuteranopia (green-blind)
#9FB6F0
Tritanopia (blue-blind)
#F598B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08ef3;
/* rgb */ color: rgb(240, 142, 243);
/* oklch */ color: oklch(78.4% 0.172 326.0);
Tailwind
colors: {
  custom: {
    50: '#f7b1f7',
    500: '#f08ef3',
    950: '#000000',
  },
}
SCSS
$custom: #f08ef3;
$custom-light: #f7b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ef3",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 298.218,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78368,
    "c": 0.17236,
    "h": 326
  },
  "luminance": 0.44342
}

Semantic roles & 50–950 ramp

primary
#F08EF3
secondary
#D8F4D7
accent
#DD080F
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F08EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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