#F262FE#F262FE

#F262FE is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.5% C 0.249 H 324.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#F262FE
RGBrgb(242, 98, 254)
HSLhsl(295, 99%, 69%)
HSVhsv(295, 61%, 100%)
CMYKcmyk(4.7%, 61.4%, 0%, 0.4%)
CIE-LABlab(65.57, 74.62, -52.04)
CIE-LCHlch(65.57, 90.97, 325.11°)
OKLaboklab(73.51% 0.2029 -0.1444)
OKLCHoklch(73.51% 0.249 324.6)
XYZxyz(58.8735, 34.7718, 97.3573)
Luminance0.3477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262FE #6EFE62
analogous
#A462FE #F262FE #FE62BC
triadic
#F262FE #FEF262 #62FEF2
tetradic
#F262FE #FEA462 #6EFE62 #62BCFE
square
#F262FE #FEA462 #6EFE62 #62BCFE
split-complementary
#F262FE #BCFE62 #62FEA4
monochromatic
#D301E4 #ED25FE #F262FE #F79FFE #FCDCFF

Accessibility & contrast

On white

2.64
#F262FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#F262FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262FE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262FE#FFFFFF#000000##000000
##F262FE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#F779A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f262fe;
/* rgb */ color: rgb(242, 98, 254);
/* oklch */ color: oklch(73.5% 0.249 324.6);
Tailwind
colors: {
  custom: {
    50: '#fa97ff',
    500: '#f262fe',
    950: '#000000',
  },
}
SCSS
$custom: #f262fe;
$custom-light: #fa97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f262fe",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 295.385,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73507,
    "c": 0.24901,
    "h": 324.6
  },
  "luminance": 0.34768
}

Semantic roles & 50–950 ramp

primary
#F262FE
secondary
#CBF5C7
accent
#E60012
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #F262FE

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

Preview Lab → · Contrast checker → · Palette generator →

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