#F152E7#F152E7

#F152E7 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.6% C 0.250 H 330.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#F152E7
RGBrgb(241, 82, 231)
HSLhsl(304, 85%, 63%)
HSVhsv(304, 66%, 95%)
CMYKcmyk(0%, 66%, 4.1%, 5.5%)
CIE-LABlab(62.09, 76.79, -44.81)
CIE-LCHlch(62.09, 88.91, 329.74°)
OKLaboklab(70.59% 0.218 -0.1233)
OKLCHoklch(70.59% 0.25 330.5)
XYZxyz(53.7165, 30.5089, 78.6454)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F152E7 #52F15C
analogous
#AC52F1 #F152E7 #F15297
triadic
#F152E7 #E7F152 #52E7F1
tetradic
#F152E7 #F1AC52 #52F15C #5297F1
square
#F152E7 #F1AC52 #52F15C #5297F1
split-complementary
#F152E7 #97F152 #52F1AC
monochromatic
#BA0FAF #EC19DF #F152E7 #F68BEF #FAC3F7

Accessibility & contrast

On white

2.96
#F152E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#F152E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F152E7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F152E7#FFFFFF#000000##000000
##F152E71.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EB
Deuteranopia (green-blind)
#7F9EE3
Tritanopia (blue-blind)
#FA6496
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f152e7;
/* rgb */ color: rgb(241, 82, 231);
/* oklch */ color: oklch(70.6% 0.250 330.5);
Tailwind
colors: {
  custom: {
    50: '#f98eef',
    500: '#f152e7',
    950: '#000000',
  },
}
SCSS
$custom: #f152e7;
$custom-light: #f98eef;
$custom-dark: #000000;
JSON
{
  "hex": "#f152e7",
  "rgb": {
    "r": 241,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 303.774,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70594,
    "c": 0.25046,
    "h": 330.5
  },
  "luminance": 0.30505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F152E7

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

Preview Lab → · Contrast checker → · Palette generator →

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