#F262F4#F262F4

#F262F4 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 73.0% C 0.241 H 327.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#F262F4
RGBrgb(242, 98, 244)
HSLhsl(299, 87%, 67%)
HSVhsv(299, 60%, 96%)
CMYKcmyk(0.8%, 59.8%, 0%, 4.3%)
CIE-LABlab(65.08, 72.94, -47.31)
CIE-LCHlch(65.08, 86.94, 327.03°)
OKLaboklab(72.99% 0.2023 -0.1306)
OKLCHoklch(72.99% 0.241 327.1)
XYZxyz(57.3138, 34.1479, 89.1428)
Luminance0.3414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262F4 #64F462
analogous
#A962F4 #F262F4 #F462AD
triadic
#F262F4 #F4F262 #62F4F2
tetradic
#F262F4 #F4A962 #64F462 #62ADF4
square
#F262F4 #F4A962 #64F462 #62ADF4
split-complementary
#F262F4 #ADF462 #62F4A9
monochromatic
#CB0ECD #ED29F0 #F262F4 #F79BF8 #FBD4FC

Accessibility & contrast

On white

2.68
#F262F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#F262F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262F4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262F4#FFFFFF#000000##000000
##F262F41.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#F975A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f262f4;
/* rgb */ color: rgb(242, 98, 244);
/* oklch */ color: oklch(73.0% 0.241 327.1);
Tailwind
colors: {
  custom: {
    50: '#fa97f8',
    500: '#f262f4',
    950: '#000000',
  },
}
SCSS
$custom: #f262f4;
$custom-light: #fa97f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f262f4",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 299.178,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72992,
    "c": 0.24085,
    "h": 327.1
  },
  "luminance": 0.34144
}

Semantic roles & 50–950 ramp

primary
#F262F4
secondary
#C2F0C2
accent
#E30205
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F262F4

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

Preview Lab → · Contrast checker → · Palette generator →

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