#F28BE2#F28BE2

#F28BE2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.4% C 0.164 H 333.0°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#F28BE2
RGBrgb(242, 139, 226)
HSLhsl(309, 80%, 75%)
HSVhsv(309, 43%, 95%)
CMYKcmyk(0%, 42.6%, 6.6%, 5.1%)
CIE-LABlab(71.44, 51.00, -27.47)
CIE-LCHlch(71.44, 57.92, 331.69°)
OKLaboklab(77.44% 0.1457 -0.0743)
OKLCHoklch(77.44% 0.164 333)
XYZxyz(59.5777, 42.8368, 77.0670)
Luminance0.4283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BE2 #8BF29B
analogous
#CE8BF2 #F28BE2 #F28BAF
triadic
#F28BE2 #E2F28B #8BE2F2
tetradic
#F28BE2 #F2CE8B #8BF29B #8BAFF2
square
#F28BE2 #F2CE8B #8BF29B #8BAFF2
split-complementary
#F28BE2 #AFF28B #8BF2CE
monochromatic
#E61DC6 #EC54D4 #F28BE2 #F8C2F0 #FCE3F8

Accessibility & contrast

On white

2.20
#F28BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#F28BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BE2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BE2#FFFFFF#000000##000000
##F28BE21.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#A5B4DF
Tritanopia (blue-blind)
#FA91AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28be2;
/* rgb */ color: rgb(242, 139, 226);
/* oklch */ color: oklch(77.4% 0.164 333.0);
Tailwind
colors: {
  custom: {
    50: '#f8afeb',
    500: '#f28be2',
    950: '#000000',
  },
}
SCSS
$custom: #f28be2;
$custom-light: #f8afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f28be2",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 309.32,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77443,
    "c": 0.16358,
    "h": 333
  },
  "luminance": 0.42833
}

Semantic roles & 50–950 ramp

primary
#F28BE2
secondary
#D7F4DC
accent
#DC2A09
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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