#F262FB#F262FB

#F262FB is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.4% C 0.247 H 325.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#F262FB
RGBrgb(242, 98, 251)
HSLhsl(296, 95%, 68%)
HSVhsv(296, 61%, 98%)
CMYKcmyk(3.6%, 61%, 0%, 1.6%)
CIE-LABlab(65.42, 74.11, -50.63)
CIE-LCHlch(65.42, 89.75, 325.66°)
OKLaboklab(73.35% 0.2028 -0.1403)
OKLCHoklch(73.35% 0.247 325.3)
XYZxyz(58.3969, 34.5811, 94.8470)
Luminance0.3458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262FB #6BFB62
analogous
#A562FB #F262FB #FB62B7
triadic
#F262FB #FBF262 #62FBF2
tetradic
#F262FB #FBA562 #6BFB62 #62B7FB
square
#F262FB #FBA562 #6BFB62 #62B7FB
split-complementary
#F262FB #B7FB62 #62FBA5
monochromatic
#D006DD #ED26F9 #F262FB #F79EFD #FCD9FE

Accessibility & contrast

On white

2.65
#F262FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#F262FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262FB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262FB#FFFFFF#000000##000000
##F262FB1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#F778A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f262fb;
/* rgb */ color: rgb(242, 98, 251);
/* oklch */ color: oklch(73.4% 0.247 325.3);
Tailwind
colors: {
  custom: {
    50: '#fa97fd',
    500: '#f262fb',
    950: '#000000',
  },
}
SCSS
$custom: #f262fb;
$custom-light: #fa97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f262fb",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 296.471,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73351,
    "c": 0.24655,
    "h": 325.3
  },
  "luminance": 0.34578
}

Semantic roles & 50–950 ramp

primary
#F262FB
secondary
#C8F3C5
accent
#E6000D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #F262FB

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

Preview Lab → · Contrast checker → · Palette generator →

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