#F581E2#F581E2

#F581E2 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.4% C 0.182 H 333.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F581E2
RGBrgb(245, 129, 226)
HSLhsl(310, 85%, 73%)
HSVhsv(310, 47%, 96%)
CMYKcmyk(0%, 47.3%, 7.8%, 3.9%)
CIE-LABlab(69.90, 56.83, -29.82)
CIE-LCHlch(69.90, 64.17, 332.31°)
OKLaboklab(76.37% 0.1632 -0.0808)
OKLCHoklch(76.37% 0.182 333.7)
XYZxyz(59.2338, 40.6077, 76.6549)
Luminance0.4060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F581E2 #81F594
analogous
#CE81F5 #F581E2 #F581A8
triadic
#F581E2 #E2F581 #81E2F5
tetradic
#F581E2 #F5CE81 #81F594 #81A8F5
square
#F581E2 #F5CE81 #81F594 #81A8F5
split-complementary
#F581E2 #A8F581 #81F5CE
monochromatic
#E913C6 #F048D5 #F581E2 #F9BAEF #FDE3F8

Accessibility & contrast

On white

2.30
#F581E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#F581E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F581E2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F581E2#FFFFFF#000000##000000
##F581E21.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A0E5
Deuteranopia (green-blind)
#A0B1DF
Tritanopia (blue-blind)
#FE88A7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f581e2;
/* rgb */ color: rgb(245, 129, 226);
/* oklch */ color: oklch(76.4% 0.182 333.7);
Tailwind
colors: {
  custom: {
    50: '#fba9eb',
    500: '#f581e2',
    950: '#000000',
  },
}
SCSS
$custom: #f581e2;
$custom-light: #fba9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f581e2",
  "rgb": {
    "r": 245,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 309.828,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76368,
    "c": 0.18211,
    "h": 333.7
  },
  "luminance": 0.40604
}

Semantic roles & 50–950 ramp

primary
#F581E2
secondary
#D6F5DB
accent
#E22804
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F581E2

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

Preview Lab → · Contrast checker → · Palette generator →

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