#F08DEB#F08DEB

#F08DEB is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.9% C 0.167 H 328.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#F08DEB
RGBrgb(240, 141, 235)
HSLhsl(303, 77%, 75%)
HSVhsv(303, 41%, 94%)
CMYKcmyk(0%, 41.3%, 2.1%, 5.9%)
CIE-LABlab(71.94, 50.93, -31.66)
CIE-LCHlch(71.94, 59.97, 328.13°)
OKLaboklab(77.88% 0.1427 -0.0862)
OKLCHoklch(77.88% 0.167 328.9)
XYZxyz(60.4545, 43.5762, 83.8078)
Luminance0.4357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DEB #8DF092
analogous
#C38DF0 #F08DEB #F08DBA
triadic
#F08DEB #EBF08D #8DEBF0
tetradic
#F08DEB #F0C38D #8DF092 #8DBAF0
square
#F08DEB #F0C38D #8DF092 #8DBAF0
split-complementary
#F08DEB #BAF08D #8DF0C3
monochromatic
#E221D8 #E957E2 #F08DEB #F7C3F4 #FBE4FA

Accessibility & contrast

On white

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

On black

9.71
#F08DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DEB
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DEB#FFFFFF#000000##000000
##F08DEB1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#F695B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08deb;
/* rgb */ color: rgb(240, 141, 235);
/* oklch */ color: oklch(77.9% 0.167 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7b1f1',
    500: '#f08deb',
    950: '#000000',
  },
}
SCSS
$custom: #f08deb;
$custom-light: #f7b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f08deb",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 303.03,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77879,
    "c": 0.16667,
    "h": 328.9
  },
  "luminance": 0.43573
}

Semantic roles & 50–950 ramp

primary
#F08DEB
secondary
#D8F3D9
accent
#D9170D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F08DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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