#F28BF6#F28BF6

#F28BF6 is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.3% C 0.181 H 325.8°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#F28BF6
RGBrgb(242, 139, 246)
HSLhsl(298, 86%, 75%)
HSVhsv(298, 43%, 96%)
CMYKcmyk(1.6%, 43.5%, 0%, 3.5%)
CIE-LABlab(72.23, 54.46, -37.21)
CIE-LCHlch(72.23, 65.96, 325.66°)
OKLaboklab(78.29% 0.1499 -0.1019)
OKLCHoklch(78.29% 0.181 325.8)
XYZxyz(62.4838, 43.9992, 92.3723)
Luminance0.4400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BF6 #8FF68B
analogous
#BC8BF6 #F28BF6 #F68BC4
triadic
#F28BF6 #F6F28B #8BF6F2
tetradic
#F28BF6 #F6BC8B #8FF68B #8BC4F6
square
#F28BF6 #F6BC8B #8FF68B #8BC4F6
split-complementary
#F28BF6 #C4F68B #8BF6BC
monochromatic
#E519ED #EC52F2 #F28BF6 #F8C4FA #FCE3FD

Accessibility & contrast

On white

2.14
#F28BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#F28BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BF6
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BF6#FFFFFF#000000##000000
##F28BF61.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9FA
Deuteranopia (green-blind)
#9DB6F3
Tritanopia (blue-blind)
#F796B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28bf6;
/* rgb */ color: rgb(242, 139, 246);
/* oklch */ color: oklch(78.3% 0.181 325.8);
Tailwind
colors: {
  custom: {
    50: '#f8aff9',
    500: '#f28bf6',
    950: '#000000',
  },
}
SCSS
$custom: #f28bf6;
$custom-light: #f8aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bf6",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 297.757,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78286,
    "c": 0.18128,
    "h": 325.8
  },
  "luminance": 0.43996
}

Semantic roles & 50–950 ramp

primary
#F28BF6
secondary
#D7F5D6
accent
#E2030C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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