#F152E5#F152E5

#F152E5 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.5% C 0.249 H 331.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#F152E5
RGBrgb(241, 82, 229)
HSLhsl(305, 85%, 63%)
HSVhsv(305, 66%, 95%)
CMYKcmyk(0%, 66%, 5%, 5.5%)
CIE-LABlab(61.99, 76.48, -43.84)
CIE-LCHlch(61.99, 88.16, 330.18°)
OKLaboklab(70.49% 0.2179 -0.1205)
OKLCHoklch(70.49% 0.249 331)
XYZxyz(53.4356, 30.3966, 77.1663)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F152E5 #52F15E
analogous
#AD52F1 #F152E5 #F15295
triadic
#F152E5 #E5F152 #52E5F1
tetradic
#F152E5 #F1AD52 #52F15E #5295F1
square
#F152E5 #F1AD52 #52F15E #5295F1
split-complementary
#F152E5 #95F152 #52F1AD
monochromatic
#BA0FAD #EC19DC #F152E5 #F68BEE #FAC3F6

Accessibility & contrast

On white

2.97
#F152E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#F152E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F152E5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F152E5#FFFFFF#000000##000000
##F152E51.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4788E9
Deuteranopia (green-blind)
#809EE1
Tritanopia (blue-blind)
#FA6395
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f152e5;
/* rgb */ color: rgb(241, 82, 229);
/* oklch */ color: oklch(70.5% 0.249 331.0);
Tailwind
colors: {
  custom: {
    50: '#f98eed',
    500: '#f152e5',
    950: '#000000',
  },
}
SCSS
$custom: #f152e5;
$custom-light: #f98eed;
$custom-dark: #000000;
JSON
{
  "hex": "#f152e5",
  "rgb": {
    "r": 241,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 304.528,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70493,
    "c": 0.24898,
    "h": 331
  },
  "luminance": 0.30393
}

Semantic roles & 50–950 ramp

primary
#F152E5
secondary
#B3ECB7
accent
#E21504
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F152E5

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

Preview Lab → · Contrast checker → · Palette generator →

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