#F262E2#F262E2

#F262E2 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 72.1% C 0.227 H 332.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#F262E2
RGBrgb(242, 98, 226)
HSLhsl(307, 85%, 67%)
HSVhsv(307, 60%, 95%)
CMYKcmyk(0%, 59.5%, 6.6%, 5.1%)
CIE-LABlab(64.25, 70.03, -38.62)
CIE-LCHlch(64.25, 79.98, 331.13°)
OKLaboklab(72.11% 0.2006 -0.1056)
OKLCHoklch(72.11% 0.227 332.2)
XYZxyz(54.7131, 33.1076, 75.4455)
Luminance0.3310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262E2 #62F272
analogous
#BA62F2 #F262E2 #F2629A
triadic
#F262E2 #E2F262 #62E2F2
tetradic
#F262E2 #F2BA62 #62F272 #629AF2
square
#F262E2 #F2BA62 #62F272 #629AF2
split-complementary
#F262E2 #9AF262 #62F2BA
monochromatic
#C911B4 #ED29D8 #F262E2 #F79BEC #FBD3F7

Accessibility & contrast

On white

2.76
#F262E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#F262E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262E2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262E2#FFFFFF#000000##000000
##F262E21.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE6
Deuteranopia (green-blind)
#8BA3DE
Tritanopia (blue-blind)
#FC6E99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f262e2;
/* rgb */ color: rgb(242, 98, 226);
/* oklch */ color: oklch(72.1% 0.227 332.2);
Tailwind
colors: {
  custom: {
    50: '#fa97eb',
    500: '#f262e2',
    950: '#000000',
  },
}
SCSS
$custom: #f262e2;
$custom-light: #fa97eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f262e2",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 306.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72115,
    "c": 0.22672,
    "h": 332.2
  },
  "luminance": 0.33104
}

Semantic roles & 50–950 ramp

primary
#F262E2
secondary
#C1EFC6
accent
#E11D04
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F262E2

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

Preview Lab → · Contrast checker → · Palette generator →

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