#F28FF6#F28FF6

#F28FF6 is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.9% C 0.175 H 325.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#F28FF6
RGBrgb(242, 143, 246)
HSLhsl(298, 85%, 76%)
HSVhsv(298, 42%, 96%)
CMYKcmyk(1.6%, 41.9%, 0%, 3.5%)
CIE-LABlab(73.01, 52.46, -36.00)
CIE-LCHlch(73.01, 63.62, 325.54°)
OKLaboklab(78.87% 0.1443 -0.0985)
OKLCHoklch(78.87% 0.175 325.7)
XYZxyz(63.0736, 45.1788, 92.5689)
Luminance0.4518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FF6 #93F68F
analogous
#BF8FF6 #F28FF6 #F68FC7
triadic
#F28FF6 #F6F28F #8FF6F2
tetradic
#F28FF6 #F6BF8F #93F68F #8FC7F6
square
#F28FF6 #F6BF8F #93F68F #8FC7F6
split-complementary
#F28FF6 #C7F68F #8FF6BF
monochromatic
#E51EED #EB56F1 #F28FF6 #F9C8FB #FCE3FD

Accessibility & contrast

On white

2.09
#F28FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#F28FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FF6
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FF6#FFFFFF#000000##000000
##F28FF61.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ABFA
Deuteranopia (green-blind)
#A0B8F3
Tritanopia (blue-blind)
#F79AB7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f28ff6;
/* rgb */ color: rgb(242, 143, 246);
/* oklch */ color: oklch(78.9% 0.175 325.7);
Tailwind
colors: {
  custom: {
    50: '#f8b2f9',
    500: '#f28ff6',
    950: '#000000',
  },
}
SCSS
$custom: #f28ff6;
$custom-light: #f8b2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ff6",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 297.67,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78869,
    "c": 0.17472,
    "h": 325.7
  },
  "luminance": 0.45176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F28FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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