#F262F2#F262F2

#F262F2 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.9% C 0.239 H 327.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#F262F2
RGBrgb(242, 98, 242)
HSLhsl(300, 85%, 67%)
HSVhsv(300, 60%, 95%)
CMYKcmyk(0%, 59.5%, 0%, 5.1%)
CIE-LABlab(64.98, 72.61, -46.35)
CIE-LCHlch(64.98, 86.14, 327.45°)
OKLaboklab(72.89% 0.2022 -0.1279)
OKLCHoklch(72.89% 0.239 327.7)
XYZxyz(57.0118, 34.0271, 87.5522)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262F2 #62F262
analogous
#AA62F2 #F262F2 #F262AA
triadic
#F262F2 #F2F262 #62F2F2
tetradic
#F262F2 #F2AA62 #62F262 #62AAF2
square
#F262F2 #F2AA62 #62F262 #62AAF2
split-complementary
#F262F2 #AAF262 #62F2AA
monochromatic
#C911C9 #ED29ED #F262F2 #F79BF7 #FBD3FB

Accessibility & contrast

On white

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

On black

7.80
#F262F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262F2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262F2#FFFFFF#000000##000000
##F262F21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#84A4EE
Tritanopia (blue-blind)
#F974A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f262f2;
/* rgb */ color: rgb(242, 98, 242);
/* oklch */ color: oklch(72.9% 0.239 327.7);
Tailwind
colors: {
  custom: {
    50: '#fa97f7',
    500: '#f262f2',
    950: '#000000',
  },
}
SCSS
$custom: #f262f2;
$custom-light: #fa97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f262f2",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72891,
    "c": 0.23925,
    "h": 327.7
  },
  "luminance": 0.34023
}

Semantic roles & 50–950 ramp

primary
#F262F2
secondary
#C1EFC1
accent
#E10404
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F262F2

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

Preview Lab → · Contrast checker → · Palette generator →

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