#F262E1#F262E1

#F262E1 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 72.1% C 0.226 H 332.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#F262E1
RGBrgb(242, 98, 225)
HSLhsl(307, 85%, 67%)
HSVhsv(307, 60%, 95%)
CMYKcmyk(0%, 59.5%, 7%, 5.1%)
CIE-LABlab(64.20, 69.88, -38.13)
CIE-LCHlch(64.20, 79.60, 331.38°)
OKLaboklab(72.07% 0.2005 -0.1042)
OKLCHoklch(72.07% 0.226 332.5)
XYZxyz(54.5762, 33.0529, 74.7249)
Luminance0.3305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262E1 #62F273
analogous
#BB62F2 #F262E1 #F26299
triadic
#F262E1 #E1F262 #62E1F2
tetradic
#F262E1 #F2BB62 #62F273 #6299F2
square
#F262E1 #F2BB62 #62F273 #6299F2
split-complementary
#F262E1 #99F262 #62F2BB
monochromatic
#C911B3 #ED29D6 #F262E1 #F79BEC #FBD3F7

Accessibility & contrast

On white

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

On black

7.61
#F262E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262E1
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262E1#FFFFFF#000000##000000
##F262E11.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f262e1;
/* rgb */ color: rgb(242, 98, 225);
/* oklch */ color: oklch(72.1% 0.226 332.5);
Tailwind
colors: {
  custom: {
    50: '#fa96eb',
    500: '#f262e1',
    950: '#000000',
  },
}
SCSS
$custom: #f262e1;
$custom-light: #fa96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f262e1",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 307.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72068,
    "c": 0.22596,
    "h": 332.5
  },
  "luminance": 0.33049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F262E1

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

Preview Lab → · Contrast checker → · Palette generator →

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