#F262EB#F262EB

#F262EB is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.5% C 0.234 H 329.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#F262EB
RGBrgb(242, 98, 235)
HSLhsl(303, 85%, 67%)
HSVhsv(303, 60%, 95%)
CMYKcmyk(0%, 59.5%, 2.9%, 5.1%)
CIE-LABlab(64.66, 71.47, -42.99)
CIE-LCHlch(64.66, 83.40, 328.97°)
OKLaboklab(72.55% 0.2016 -0.1182)
OKLCHoklch(72.55% 0.234 329.6)
XYZxyz(55.9806, 33.6146, 82.1209)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262EB #62F269
analogous
#B162F2 #F262EB #F262A3
triadic
#F262EB #EBF262 #62EBF2
tetradic
#F262EB #F2B162 #62F269 #62A3F2
square
#F262EB #F2B162 #62F269 #62A3F2
split-complementary
#F262EB #A3F262 #62F2B1
monochromatic
#C911C0 #ED29E4 #F262EB #F79BF2 #FBD3F9

Accessibility & contrast

On white

2.72
#F262EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#F262EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262EB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262EB#FFFFFF#000000##000000
##F262EB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#FA719E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f262eb;
/* rgb */ color: rgb(242, 98, 235);
/* oklch */ color: oklch(72.5% 0.234 329.6);
Tailwind
colors: {
  custom: {
    50: '#fa97f2',
    500: '#f262eb',
    950: '#000000',
  },
}
SCSS
$custom: #f262eb;
$custom-light: #fa97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f262eb",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 302.917,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72545,
    "c": 0.23368,
    "h": 329.6
  },
  "luminance": 0.33611
}

Semantic roles & 50–950 ramp

primary
#F262EB
secondary
#C1EFC3
accent
#E10F04
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F262EB

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

Preview Lab → · Contrast checker → · Palette generator →

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