#F08BEF#F08BEF

#F08BEF is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.8% C 0.174 H 327.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#F08BEF
RGBrgb(240, 139, 239)
HSLhsl(301, 77%, 74%)
HSVhsv(301, 42%, 94%)
CMYKcmyk(0%, 42.1%, 0.4%, 5.9%)
CIE-LABlab(71.71, 52.64, -34.22)
CIE-LCHlch(71.71, 62.78, 326.98°)
OKLaboklab(77.75% 0.1463 -0.0934)
OKLCHoklch(77.75% 0.174 327.4)
XYZxyz(60.7467, 43.2255, 86.7882)
Luminance0.4322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BEF #8BF08C
analogous
#BF8BF0 #F08BEF #F08BBD
triadic
#F08BEF #EFF08B #8BEFF0
tetradic
#F08BEF #F0BF8B #8BF08C #8BBDF0
square
#F08BEF #F0BF8B #8BF08C #8BBDF0
split-complementary
#F08BEF #BDF08B #8BF0BF
monochromatic
#E21FE0 #E955E8 #F08BEF #F7C1F6 #FBE4FB

Accessibility & contrast

On white

2.18
#F08BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#F08BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BEF
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BEF#FFFFFF#000000##000000
##F08BEF1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F3
Deuteranopia (green-blind)
#9FB4EC
Tritanopia (blue-blind)
#F695B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08bef;
/* rgb */ color: rgb(240, 139, 239);
/* oklch */ color: oklch(77.8% 0.174 327.4);
Tailwind
colors: {
  custom: {
    50: '#f7aff4',
    500: '#f08bef',
    950: '#000000',
  },
}
SCSS
$custom: #f08bef;
$custom-light: #f7aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bef",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 300.594,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77754,
    "c": 0.17361,
    "h": 327.4
  },
  "luminance": 0.43222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F08BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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