#F262EF#F262EF

#F262EF is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.7% C 0.237 H 328.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#F262EF
RGBrgb(242, 98, 239)
HSLhsl(301, 85%, 67%)
HSVhsv(301, 60%, 95%)
CMYKcmyk(0%, 59.5%, 1.2%, 5.1%)
CIE-LABlab(64.84, 72.11, -44.92)
CIE-LCHlch(64.84, 84.96, 328.08°)
OKLaboklab(72.74% 0.202 -0.1237)
OKLCHoklch(72.74% 0.237 328.5)
XYZxyz(56.5649, 33.8483, 85.1987)
Luminance0.3384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262EF #62F265
analogous
#AD62F2 #F262EF #F262A7
triadic
#F262EF #EFF262 #62EFF2
tetradic
#F262EF #F2AD62 #62F265 #62A7F2
square
#F262EF #F2AD62 #62F265 #62A7F2
split-complementary
#F262EF #A7F262 #62F2AD
monochromatic
#C911C5 #ED29E9 #F262EF #F79BF5 #FBD3FB

Accessibility & contrast

On white

2.70
#F262EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#F262EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262EF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262EF#FFFFFF#000000##000000
##F262EF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#F973A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f262ef;
/* rgb */ color: rgb(242, 98, 239);
/* oklch */ color: oklch(72.7% 0.237 328.5);
Tailwind
colors: {
  custom: {
    50: '#fa97f5',
    500: '#f262ef',
    950: '#000000',
  },
}
SCSS
$custom: #f262ef;
$custom-light: #fa97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f262ef",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 301.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.23685,
    "h": 328.5
  },
  "luminance": 0.33845
}

Semantic roles & 50–950 ramp

primary
#F262EF
secondary
#C1EFC2
accent
#E10904
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F262EF

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

Preview Lab → · Contrast checker → · Palette generator →

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