#F28FEB#F28FEB

#F28FEB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.4% C 0.165 H 329.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#F28FEB
RGBrgb(242, 143, 235)
HSLhsl(304, 79%, 75%)
HSVhsv(304, 41%, 95%)
CMYKcmyk(0%, 40.9%, 2.9%, 5.1%)
CIE-LABlab(72.58, 50.51, -30.67)
CIE-LCHlch(72.58, 59.09, 328.74°)
OKLaboklab(78.4% 0.142 -0.0834)
OKLCHoklch(78.4% 0.165 329.6)
XYZxyz(61.4350, 44.5234, 83.9390)
Luminance0.4452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FEB #8FF296
analogous
#C78FF2 #F28FEB #F28FBA
triadic
#F28FEB #EBF28F #8FEBF2
tetradic
#F28FEB #F2C78F #8FF296 #8FBAF2
square
#F28FEB #F2C78F #8FF296 #8FBAF2
split-complementary
#F28FEB #BAF28F #8FF2C7
monochromatic
#E521D7 #EC58E1 #F28FEB #F8C6F5 #FCE4FA

Accessibility & contrast

On white

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

On black

9.90
#F28FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FEB
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FEB#FFFFFF#000000##000000
##F28FEB1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#A4B7E8
Tritanopia (blue-blind)
#F997B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28feb;
/* rgb */ color: rgb(242, 143, 235);
/* oklch */ color: oklch(78.4% 0.165 329.6);
Tailwind
colors: {
  custom: {
    50: '#f8b2f1',
    500: '#f28feb',
    950: '#000000',
  },
}
SCSS
$custom: #f28feb;
$custom-light: #f8b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28feb",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 304.242,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78404,
    "c": 0.16467,
    "h": 329.6
  },
  "luminance": 0.4452
}

Semantic roles & 50–950 ramp

primary
#F28FEB
secondary
#D7F4D9
accent
#DB190A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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