#F262EC#F262EC

#F262EC is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.6% C 0.234 H 329.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#F262EC
RGBrgb(242, 98, 236)
HSLhsl(303, 85%, 67%)
HSVhsv(303, 60%, 95%)
CMYKcmyk(0%, 59.5%, 2.5%, 5.1%)
CIE-LABlab(64.70, 71.63, -43.47)
CIE-LCHlch(64.70, 83.79, 328.75°)
OKLaboklab(72.59% 0.2017 -0.1196)
OKLCHoklch(72.59% 0.234 329.3)
XYZxyz(56.1254, 33.6725, 82.8839)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262EC #62F268
analogous
#B062F2 #F262EC #F262A4
triadic
#F262EC #ECF262 #62ECF2
tetradic
#F262EC #F2B062 #62F268 #62A4F2
square
#F262EC #F2B062 #62F268 #62A4F2
split-complementary
#F262EC #A4F262 #62F2B0
monochromatic
#C911C1 #ED29E5 #F262EC #F79BF3 #FBD3FA

Accessibility & contrast

On white

2.72
#F262EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#F262EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262EC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262EC#FFFFFF#000000##000000
##F262EC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#FA729E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f262ec;
/* rgb */ color: rgb(242, 98, 236);
/* oklch */ color: oklch(72.6% 0.234 329.3);
Tailwind
colors: {
  custom: {
    50: '#fa97f2',
    500: '#f262ec',
    950: '#000000',
  },
}
SCSS
$custom: #f262ec;
$custom-light: #fa97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f262ec",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 302.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72594,
    "c": 0.23447,
    "h": 329.3
  },
  "luminance": 0.33669
}

Semantic roles & 50–950 ramp

primary
#F262EC
secondary
#C1EFC3
accent
#E10E04
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F262EC

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

Preview Lab → · Contrast checker → · Palette generator →

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