#F87BEB#F87BEB

#F87BEB is a light, highly saturated purple. Relative luminance 0.401; OKLCH L 76.3% C 0.201 H 331.4°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F87BEB
RGBrgb(248, 123, 235)
HSLhsl(306, 90%, 73%)
HSVhsv(306, 50%, 97%)
CMYKcmyk(0%, 50.4%, 5.2%, 2.7%)
CIE-LABlab(69.56, 62.01, -35.28)
CIE-LCHlch(69.56, 71.34, 330.36°)
OKLaboklab(76.31% 0.1764 -0.0962)
OKLCHoklch(76.31% 0.201 331.4)
XYZxyz(60.7894, 40.1244, 83.1241)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BEB #7BF888
analogous
#C67BF8 #F87BEB #F87BAC
triadic
#F87BEB #EBF87B #7BEBF8
tetradic
#F87BEB #F8C67B #7BF888 #7BACF8
square
#F87BEB #F8C67B #7BF888 #7BACF8
split-complementary
#F87BEB #ACF87B #7BF8C6
monochromatic
#EC0DD5 #F541E2 #F87BEB #FBB5F4 #FDE2FB

Accessibility & contrast

On white

2.33
#F87BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#F87BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BEB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BEB#FFFFFF#000000##000000
##F87BEB1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#9BB0E7
Tritanopia (blue-blind)
#FF85A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87beb;
/* rgb */ color: rgb(248, 123, 235);
/* oklch */ color: oklch(76.3% 0.201 331.4);
Tailwind
colors: {
  custom: {
    50: '#fda6f1',
    500: '#f87beb',
    950: '#000000',
  },
}
SCSS
$custom: #f87beb;
$custom-light: #fda6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87beb",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 306.24,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76312,
    "c": 0.2009,
    "h": 331.4
  },
  "luminance": 0.40121
}

Semantic roles & 50–950 ramp

primary
#F87BEB
secondary
#D5F6D9
accent
#E61800
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F87BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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