#F262DB#F262DB

#F262DB is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.8% C 0.221 H 334.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#F262DB
RGBrgb(242, 98, 219)
HSLhsl(310, 85%, 67%)
HSVhsv(310, 60%, 95%)
CMYKcmyk(0%, 59.5%, 9.5%, 5.1%)
CIE-LABlab(63.94, 68.95, -35.18)
CIE-LCHlch(63.94, 77.41, 332.97°)
OKLaboklab(71.79% 0.1997 -0.0958)
OKLCHoklch(71.79% 0.221 334.4)
XYZxyz(53.7721, 32.7312, 70.4897)
Luminance0.3273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262DB #62F279
analogous
#C162F2 #F262DB #F26293
triadic
#F262DB #DBF262 #62DBF2
tetradic
#F262DB #F2C162 #62F279 #6293F2
square
#F262DB #F2C162 #62F279 #6293F2
split-complementary
#F262DB #93F262 #62F2C1
monochromatic
#C911AC #ED29CE #F262DB #F79BE8 #FBD3F5

Accessibility & contrast

On white

2.78
#F262DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#F262DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262DB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262DB#FFFFFF#000000##000000
##F262DB1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDF
Deuteranopia (green-blind)
#8EA3D7
Tritanopia (blue-blind)
#FD6C96
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f262db;
/* rgb */ color: rgb(242, 98, 219);
/* oklch */ color: oklch(71.8% 0.221 334.4);
Tailwind
colors: {
  custom: {
    50: '#fa96e6',
    500: '#f262db',
    950: '#000000',
  },
}
SCSS
$custom: #f262db;
$custom-light: #fa96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f262db",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 309.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71792,
    "c": 0.22147,
    "h": 334.4
  },
  "luminance": 0.32727
}

Semantic roles & 50–950 ramp

primary
#F262DB
secondary
#C1EFC8
accent
#E12804
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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