#F262ED#F262ED

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

Color values

HEX#F262ED
RGBrgb(242, 98, 237)
HSLhsl(302, 85%, 67%)
HSVhsv(302, 60%, 95%)
CMYKcmyk(0%, 59.5%, 2.1%, 5.1%)
CIE-LABlab(64.75, 71.79, -43.95)
CIE-LCHlch(64.75, 84.18, 328.52°)
OKLaboklab(72.64% 0.2018 -0.121)
OKLCHoklch(72.64% 0.235 329.1)
XYZxyz(56.2711, 33.7308, 83.6512)
Luminance0.3373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262ED #62F267
analogous
#AF62F2 #F262ED #F262A5
triadic
#F262ED #EDF262 #62EDF2
tetradic
#F262ED #F2AF62 #62F267 #62A5F2
square
#F262ED #F2AF62 #62F267 #62A5F2
split-complementary
#F262ED #A5F262 #62F2AF
monochromatic
#C911C3 #ED29E7 #F262ED #F79BF3 #FBD3FA

Accessibility & contrast

On white

2.71
#F262ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#F262ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262ED
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262ED#FFFFFF#000000##000000
##F262ED1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#FA729F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f262ed;
/* rgb */ color: rgb(242, 98, 237);
/* oklch */ color: oklch(72.6% 0.235 329.1);
Tailwind
colors: {
  custom: {
    50: '#fa97f3',
    500: '#f262ed',
    950: '#000000',
  },
}
SCSS
$custom: #f262ed;
$custom-light: #fa97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f262ed",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 302.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.23526,
    "h": 329.1
  },
  "luminance": 0.33727
}

Semantic roles & 50–950 ramp

primary
#F262ED
secondary
#C1EFC2
accent
#E10C04
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F262ED

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

Preview Lab → · Contrast checker → · Palette generator →

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