#F262FF#F262FF

#F262FF is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.6% C 0.250 H 324.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#F262FF
RGBrgb(242, 98, 255)
HSLhsl(295, 100%, 69%)
HSVhsv(295, 62%, 100%)
CMYKcmyk(5.1%, 61.6%, 0%, 0%)
CIE-LABlab(65.62, 74.79, -52.51)
CIE-LCHlch(65.62, 91.38, 324.93°)
OKLaboklab(73.56% 0.2029 -0.1457)
OKLCHoklch(73.56% 0.25 324.3)
XYZxyz(59.0341, 34.8360, 98.2029)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262FF #6FFF62
analogous
#A462FF #F262FF #FF62BE
triadic
#F262FF #FFF262 #62FFF2
tetradic
#F262FF #FFA462 #6FFF62 #62BEFF
square
#F262FF #FFA462 #6FFF62 #62BEFF
split-complementary
#F262FF #BEFF62 #62FFA4
monochromatic
#D400E7 #ED25FF #F262FF #F79FFF #FCDCFF

Accessibility & contrast

On white

2.64
#F262FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#F262FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262FF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262FF#FFFFFF#000000##000000
##F262FF1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#F779A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f262ff;
/* rgb */ color: rgb(242, 98, 255);
/* oklch */ color: oklch(73.6% 0.250 324.3);
Tailwind
colors: {
  custom: {
    50: '#fa97ff',
    500: '#f262ff',
    950: '#000000',
  },
}
SCSS
$custom: #f262ff;
$custom-light: #fa97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f262ff",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 295.032,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7356,
    "c": 0.24984,
    "h": 324.3
  },
  "luminance": 0.34833
}

Semantic roles & 50–950 ramp

primary
#F262FF
secondary
#CBF5C8
accent
#E60013
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #F262FF

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

Preview Lab → · Contrast checker → · Palette generator →

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