#F262E7#F262E7

#F262E7 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.4% C 0.231 H 330.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#F262E7
RGBrgb(242, 98, 231)
HSLhsl(305, 85%, 67%)
HSVhsv(305, 60%, 95%)
CMYKcmyk(0%, 59.5%, 4.5%, 5.1%)
CIE-LABlab(64.47, 70.82, -41.05)
CIE-LCHlch(64.47, 81.86, 329.90°)
OKLaboklab(72.35% 0.2012 -0.1126)
OKLCHoklch(72.35% 0.231 330.8)
XYZxyz(55.4092, 33.3860, 79.1116)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262E7 #62F26D
analogous
#B562F2 #F262E7 #F2629F
triadic
#F262E7 #E7F262 #62E7F2
tetradic
#F262E7 #F2B562 #62F26D #629FF2
square
#F262E7 #F2B562 #62F26D #629FF2
split-complementary
#F262E7 #9FF262 #62F2B5
monochromatic
#C911BB #ED29DE #F262E7 #F79BF0 #FBD3F8

Accessibility & contrast

On white

2.74
#F262E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#F262E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262E7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262E7#FFFFFF#000000##000000
##F262E71.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EB
Deuteranopia (green-blind)
#89A3E3
Tritanopia (blue-blind)
#FB709C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f262e7;
/* rgb */ color: rgb(242, 98, 231);
/* oklch */ color: oklch(72.4% 0.231 330.8);
Tailwind
colors: {
  custom: {
    50: '#fa97ef',
    500: '#f262e7',
    950: '#000000',
  },
}
SCSS
$custom: #f262e7;
$custom-light: #fa97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f262e7",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 304.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72352,
    "c": 0.23056,
    "h": 330.8
  },
  "luminance": 0.33382
}

Semantic roles & 50–950 ramp

primary
#F262E7
secondary
#C1EFC4
accent
#E11504
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F262E7

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

Preview Lab → · Contrast checker → · Palette generator →

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