#F08EEF#F08EEF

#F08EEF is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.2% C 0.169 H 327.4°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#F08EEF
RGBrgb(240, 142, 239)
HSLhsl(301, 77%, 75%)
HSVhsv(301, 41%, 94%)
CMYKcmyk(0%, 40.8%, 0.4%, 5.9%)
CIE-LABlab(72.30, 51.13, -33.30)
CIE-LCHlch(72.30, 61.02, 326.92°)
OKLaboklab(78.2% 0.1421 -0.0909)
OKLCHoklch(78.2% 0.169 327.4)
XYZxyz(61.1870, 44.1062, 86.9350)
Luminance0.4410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EEF #8EF08F
analogous
#C08EF0 #F08EEF #F08EBE
triadic
#F08EEF #EFF08E #8EEFF0
tetradic
#F08EEF #F0C08E #8EF08F #8EBEF0
square
#F08EEF #F0C08E #8EF08F #8EBEF0
split-complementary
#F08EEF #BEF08E #8EF0C0
monochromatic
#E222E0 #E958E7 #F08EEF #F7C4F7 #FBE4FB

Accessibility & contrast

On white

2.14
#F08EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#F08EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EEF
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EEF#FFFFFF#000000##000000
##F08EEF1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#F697B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08eef;
/* rgb */ color: rgb(240, 142, 239);
/* oklch */ color: oklch(78.2% 0.169 327.4);
Tailwind
colors: {
  custom: {
    50: '#f7b1f4',
    500: '#f08eef',
    950: '#000000',
  },
}
SCSS
$custom: #f08eef;
$custom-light: #f7b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f08eef",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 300.612,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78196,
    "c": 0.16865,
    "h": 327.4
  },
  "luminance": 0.44103
}

Semantic roles & 50–950 ramp

primary
#F08EEF
secondary
#D8F3D8
accent
#D90F0D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F08EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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