#F08BED#F08BED

#F08BED is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.7% C 0.172 H 328.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#F08BED
RGBrgb(240, 139, 237)
HSLhsl(302, 77%, 74%)
HSVhsv(302, 42%, 94%)
CMYKcmyk(0%, 42.1%, 1.2%, 5.9%)
CIE-LABlab(71.63, 52.29, -33.25)
CIE-LCHlch(71.63, 61.96, 327.55°)
OKLaboklab(77.67% 0.1459 -0.0907)
OKLCHoklch(77.67% 0.172 328.1)
XYZxyz(60.4529, 43.1079, 85.2407)
Luminance0.4310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BED #8BF08E
analogous
#C18BF0 #F08BED #F08BBB
triadic
#F08BED #EDF08B #8BEDF0
tetradic
#F08BED #F0C18B #8BF08E #8BBBF0
square
#F08BED #F0C18B #8BF08E #8BBBF0
split-complementary
#F08BED #BBF08B #8BF0C1
monochromatic
#E21FDC #E955E5 #F08BED #F7C1F5 #FBE4FB

Accessibility & contrast

On white

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

On black

9.62
#F08BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BED
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BED#FFFFFF#000000##000000
##F08BED1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#A0B4EA
Tritanopia (blue-blind)
#F694B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f08bed;
/* rgb */ color: rgb(240, 139, 237);
/* oklch */ color: oklch(77.7% 0.172 328.1);
Tailwind
colors: {
  custom: {
    50: '#f7aff3',
    500: '#f08bed',
    950: '#000000',
  },
}
SCSS
$custom: #f08bed;
$custom-light: #f7aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bed",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 301.782,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77668,
    "c": 0.1718,
    "h": 328.1
  },
  "luminance": 0.43105
}

Semantic roles & 50–950 ramp

primary
#F08BED
secondary
#D8F3D9
accent
#D9120C
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F08BED

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

Preview Lab → · Contrast checker → · Palette generator →

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