#F262E3#F262E3

#F262E3 is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.2% C 0.227 H 331.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#F262E3
RGBrgb(242, 98, 227)
HSLhsl(306, 85%, 67%)
HSVhsv(306, 60%, 95%)
CMYKcmyk(0%, 59.5%, 6.2%, 5.1%)
CIE-LABlab(64.29, 70.19, -39.11)
CIE-LCHlch(64.29, 80.35, 330.87°)
OKLaboklab(72.16% 0.2007 -0.107)
OKLCHoklch(72.16% 0.227 331.9)
XYZxyz(54.8507, 33.1626, 76.1702)
Luminance0.3316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262E3 #62F271
analogous
#B962F2 #F262E3 #F2629B
triadic
#F262E3 #E3F262 #62E3F2
tetradic
#F262E3 #F2B962 #62F271 #629BF2
square
#F262E3 #F2B962 #62F271 #629BF2
split-complementary
#F262E3 #9BF262 #62F2B9
monochromatic
#C911B6 #ED29D9 #F262E3 #F79BED #FBD3F7

Accessibility & contrast

On white

2.75
#F262E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#F262E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262E3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262E3#FFFFFF#000000##000000
##F262E31.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#8AA3DF
Tritanopia (blue-blind)
#FB6F9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f262e3;
/* rgb */ color: rgb(242, 98, 227);
/* oklch */ color: oklch(72.2% 0.227 331.9);
Tailwind
colors: {
  custom: {
    50: '#fa97ec',
    500: '#f262e3',
    950: '#000000',
  },
}
SCSS
$custom: #f262e3;
$custom-light: #fa97ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f262e3",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 227
  },
  "hsl": {
    "h": 306.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72162,
    "c": 0.22749,
    "h": 331.9
  },
  "luminance": 0.33159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F262E3

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

Preview Lab → · Contrast checker → · Palette generator →

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