#F252F5#F252F5

#F252F5 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.5% C 0.262 H 327.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#F252F5
RGBrgb(242, 82, 245)
HSLhsl(299, 89%, 64%)
HSVhsv(299, 67%, 96%)
CMYKcmyk(1.2%, 66.5%, 0%, 3.9%)
CIE-LABlab(62.93, 79.22, -51.25)
CIE-LCHlch(62.93, 94.35, 327.10°)
OKLaboklab(71.46% 0.2196 -0.142)
OKLCHoklch(71.46% 0.262 327.1)
XYZxyz(56.1158, 31.5082, 89.4945)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F252F5 #55F552
analogous
#A152F5 #F252F5 #F552A7
triadic
#F252F5 #F5F252 #52F5F2
tetradic
#F252F5 #F5A152 #55F552 #52A7F5
square
#F252F5 #F5A152 #55F552 #52A7F5
split-complementary
#F252F5 #A7F552 #52F5A1
monochromatic
#BE0BC1 #EE18F2 #F252F5 #F68CF8 #FBC6FC

Accessibility & contrast

On white

2.88
#F252F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#F252F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F252F5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F252F5#FFFFFF#000000##000000
##F252F51.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BFA
Deuteranopia (green-blind)
#799FF1
Tritanopia (blue-blind)
#F96A9E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f252f5;
/* rgb */ color: rgb(242, 82, 245);
/* oklch */ color: oklch(71.5% 0.262 327.1);
Tailwind
colors: {
  custom: {
    50: '#fa8ff9',
    500: '#f252f5',
    950: '#000000',
  },
}
SCSS
$custom: #f252f5;
$custom-light: #fa8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#f252f5",
  "rgb": {
    "r": 242,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 298.896,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.71456,
    "c": 0.2615,
    "h": 327.1
  },
  "luminance": 0.31504
}

Semantic roles & 50–950 ramp

primary
#F252F5
secondary
#B6EEB5
accent
#E60004
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F252F5

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

Preview Lab → · Contrast checker → · Palette generator →

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