#F28DF6#F28DF6

#F28DF6 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.6% C 0.178 H 325.7°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#F28DF6
RGBrgb(242, 141, 246)
HSLhsl(298, 85%, 76%)
HSVhsv(298, 43%, 96%)
CMYKcmyk(1.6%, 42.7%, 0%, 3.5%)
CIE-LABlab(72.62, 53.46, -36.61)
CIE-LCHlch(72.62, 64.80, 325.60°)
OKLaboklab(78.58% 0.1471 -0.1002)
OKLCHoklch(78.58% 0.178 325.7)
XYZxyz(62.7760, 44.5837, 92.4697)
Luminance0.4458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DF6 #91F68D
analogous
#BD8DF6 #F28DF6 #F68DC5
triadic
#F28DF6 #F6F28D #8DF6F2
tetradic
#F28DF6 #F6BD8D #91F68D #8DC5F6
square
#F28DF6 #F6BD8D #91F68D #8DC5F6
split-complementary
#F28DF6 #C5F68D #8DF6BD
monochromatic
#E51CED #EC54F2 #F28DF6 #F8C6FA #FCE3FD

Accessibility & contrast

On white

2.12
#F28DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#F28DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DF6
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DF6#FFFFFF#000000##000000
##F28DF61.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFA
Deuteranopia (green-blind)
#9FB7F3
Tritanopia (blue-blind)
#F798B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28df6;
/* rgb */ color: rgb(242, 141, 246);
/* oklch */ color: oklch(78.6% 0.178 325.7);
Tailwind
colors: {
  custom: {
    50: '#f8b1f9',
    500: '#f28df6',
    950: '#000000',
  },
}
SCSS
$custom: #f28df6;
$custom-light: #f8b1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28df6",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 297.714,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78576,
    "c": 0.17801,
    "h": 325.7
  },
  "luminance": 0.44581
}

Semantic roles & 50–950 ramp

primary
#F28DF6
secondary
#D7F5D6
accent
#E2040C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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