#F098EB#F098EB

#F098EB is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.6% C 0.148 H 328.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#F098EB
RGBrgb(240, 152, 235)
HSLhsl(303, 75%, 77%)
HSVhsv(303, 37%, 94%)
CMYKcmyk(0%, 36.7%, 2.1%, 5.9%)
CIE-LABlab(74.18, 45.30, -28.22)
CIE-LCHlch(74.18, 53.37, 328.08°)
OKLaboklab(79.56% 0.1268 -0.0766)
OKLCHoklch(79.56% 0.148 328.9)
XYZxyz(62.1578, 46.9827, 84.3756)
Luminance0.4698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F098EB #98F09D
analogous
#C998F0 #F098EB #F098BF
triadic
#F098EB #EBF098 #98EBF0
tetradic
#F098EB #F0C998 #98F09D #98BFF0
square
#F098EB #F0C998 #98F09D #98BFF0
split-complementary
#F098EB #BFF098 #98F0C9
monochromatic
#E02DD6 #E863E1 #F098EB #F8CDF5 #FBE4FA

Accessibility & contrast

On white

2.02
#F098EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#F098EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F098EB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F098EB#FFFFFF#000000##000000
##F098EB1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#AABBE8
Tritanopia (blue-blind)
#F69FB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f098eb;
/* rgb */ color: rgb(240, 152, 235);
/* oklch */ color: oklch(79.6% 0.148 328.9);
Tailwind
colors: {
  custom: {
    50: '#f6b8f1',
    500: '#f098eb',
    950: '#000000',
  },
}
SCSS
$custom: #f098eb;
$custom-light: #f6b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f098eb",
  "rgb": {
    "r": 240,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 303.409,
    "s": 74.576,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79558,
    "c": 0.14811,
    "h": 328.9
  },
  "luminance": 0.4698
}

Semantic roles & 50–950 ramp

primary
#F098EB
secondary
#D8F3DA
accent
#D71A0F
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F098EB

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

Preview Lab → · Contrast checker → · Palette generator →

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