#F262F1#F262F1

#F262F1 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.8% C 0.238 H 328.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#F262F1
RGBrgb(242, 98, 241)
HSLhsl(300, 85%, 67%)
HSVhsv(300, 60%, 95%)
CMYKcmyk(0%, 59.5%, 0.4%, 5.1%)
CIE-LABlab(64.94, 72.44, -45.87)
CIE-LCHlch(64.94, 85.75, 327.66°)
OKLaboklab(72.84% 0.2021 -0.1265)
OKLCHoklch(72.84% 0.238 328)
XYZxyz(56.8620, 33.9672, 86.7634)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262F1 #62F263
analogous
#AB62F2 #F262F1 #F262A9
triadic
#F262F1 #F1F262 #62F1F2
tetradic
#F262F1 #F2AB62 #62F263 #62A9F2
square
#F262F1 #F2AB62 #62F263 #62A9F2
split-complementary
#F262F1 #A9F262 #62F2AB
monochromatic
#C911C8 #ED29EC #F262F1 #F79BF6 #FBD3FB

Accessibility & contrast

On white

2.69
#F262F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#F262F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262F1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262F1#FFFFFF#000000##000000
##F262F11.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F5
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#F974A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f262f1;
/* rgb */ color: rgb(242, 98, 241);
/* oklch */ color: oklch(72.8% 0.238 328.0);
Tailwind
colors: {
  custom: {
    50: '#fa97f6',
    500: '#f262f1',
    950: '#000000',
  },
}
SCSS
$custom: #f262f1;
$custom-light: #fa97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f262f1",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 300.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72841,
    "c": 0.23845,
    "h": 328
  },
  "luminance": 0.33963
}

Semantic roles & 50–950 ramp

primary
#F262F1
secondary
#C1EFC1
accent
#E10604
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #F262F1

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

Preview Lab → · Contrast checker → · Palette generator →

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