#F298EA#F298EA

#F298EA is a light, vivid purple. Relative luminance 0.473; OKLCH L 79.7% C 0.149 H 330.1°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#F298EA
RGBrgb(242, 152, 234)
HSLhsl(305, 78%, 77%)
HSVhsv(305, 37%, 95%)
CMYKcmyk(0%, 37.2%, 3.3%, 5.1%)
CIE-LABlab(74.37, 45.74, -27.37)
CIE-LCHlch(74.37, 53.30, 329.10°)
OKLaboklab(79.74% 0.1288 -0.0741)
OKLCHoklch(79.74% 0.149 330.1)
XYZxyz(62.6966, 47.2771, 83.6489)
Luminance0.4727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F298EA #98F2A0
analogous
#CD98F2 #F298EA #F298BD
triadic
#F298EA #EAF298 #98EAF2
tetradic
#F298EA #F2CD98 #98F2A0 #98BDF2
square
#F298EA #F2CD98 #98F2A0 #98BDF2
split-complementary
#F298EA #BDF298 #98F2CD
monochromatic
#E42BD4 #EB62DF #F298EA #F9CEF5 #FCE4F9

Accessibility & contrast

On white

2.01
#F298EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#F298EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F298EA
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F298EA#FFFFFF#000000##000000
##F298EA1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#ABBBE7
Tritanopia (blue-blind)
#F99EB7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f298ea;
/* rgb */ color: rgb(242, 152, 234);
/* oklch */ color: oklch(79.7% 0.149 330.1);
Tailwind
colors: {
  custom: {
    50: '#f8b8f1',
    500: '#f298ea',
    950: '#000000',
  },
}
SCSS
$custom: #f298ea;
$custom-light: #f8b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f298ea",
  "rgb": {
    "r": 242,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 305.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79737,
    "c": 0.14858,
    "h": 330.1
  },
  "luminance": 0.47274
}

Semantic roles & 50–950 ramp

primary
#F298EA
secondary
#D8F3DA
accent
#DA1E0C
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F298EA

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

Preview Lab → · Contrast checker → · Palette generator →

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