#F252F8#F252F8

#F252F8 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.6% C 0.264 H 326.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#F252F8
RGBrgb(242, 82, 248)
HSLhsl(298, 92%, 65%)
HSVhsv(298, 67%, 97%)
CMYKcmyk(2.4%, 66.9%, 0%, 2.7%)
CIE-LABlab(63.09, 79.70, -52.67)
CIE-LCHlch(63.09, 95.53, 326.54°)
OKLaboklab(71.62% 0.2197 -0.1461)
OKLCHoklch(71.62% 0.264 326.4)
XYZxyz(56.5775, 31.6929, 91.9261)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F252F8 #58F852
analogous
#9F52F8 #F252F8 #F852AB
triadic
#F252F8 #F8F252 #52F8F2
tetradic
#F252F8 #F89F52 #58F852 #52ABF8
square
#F252F8 #F89F52 #58F852 #52ABF8
split-complementary
#F252F8 #ABF852 #52F89F
monochromatic
#C108C8 #EE17F6 #F252F8 #F68DFA #FBC8FD

Accessibility & contrast

On white

2.86
#F252F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#F252F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F252F8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F252F8#FFFFFF#000000##000000
##F252F81.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFD
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#F86B9F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f252f8;
/* rgb */ color: rgb(242, 82, 248);
/* oklch */ color: oklch(71.6% 0.264 326.4);
Tailwind
colors: {
  custom: {
    50: '#fa8ffb',
    500: '#f252f8',
    950: '#000000',
  },
}
SCSS
$custom: #f252f8;
$custom-light: #fa8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f252f8",
  "rgb": {
    "r": 242,
    "g": 82,
    "b": 248
  },
  "hsl": {
    "h": 297.831,
    "s": 92.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71617,
    "c": 0.26379,
    "h": 326.4
  },
  "luminance": 0.31689
}

Semantic roles & 50–950 ramp

primary
#F252F8
secondary
#B8EFB6
accent
#E60008
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F252F8

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

Preview Lab → · Contrast checker → · Palette generator →

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