#F262DC#F262DC

#F262DC is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.8% C 0.222 H 334.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#F262DC
RGBrgb(242, 98, 220)
HSLhsl(309, 85%, 67%)
HSVhsv(309, 60%, 95%)
CMYKcmyk(0%, 59.5%, 9.1%, 5.1%)
CIE-LABlab(63.99, 69.10, -35.68)
CIE-LCHlch(63.99, 77.77, 332.69°)
OKLaboklab(71.84% 0.1998 -0.0972)
OKLCHoklch(71.84% 0.222 334.1)
XYZxyz(53.9041, 32.7840, 71.1851)
Luminance0.3278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262DC #62F278
analogous
#C062F2 #F262DC #F26294
triadic
#F262DC #DCF262 #62DCF2
tetradic
#F262DC #F2C062 #62F278 #6294F2
square
#F262DC #F2C062 #62F278 #6294F2
split-complementary
#F262DC #94F262 #62F2C0
monochromatic
#C911AD #ED29CF #F262DC #F79BE9 #FBD3F5

Accessibility & contrast

On white

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

On black

7.56
#F262DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262DC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262DC#FFFFFF#000000##000000
##F262DC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE0
Deuteranopia (green-blind)
#8DA3D8
Tritanopia (blue-blind)
#FC6C96
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f262dc;
/* rgb */ color: rgb(242, 98, 220);
/* oklch */ color: oklch(71.8% 0.222 334.1);
Tailwind
colors: {
  custom: {
    50: '#fa96e7',
    500: '#f262dc',
    950: '#000000',
  },
}
SCSS
$custom: #f262dc;
$custom-light: #fa96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f262dc",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 309.167,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71837,
    "c": 0.22221,
    "h": 334.1
  },
  "luminance": 0.3278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F262DC

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

Preview Lab → · Contrast checker → · Palette generator →

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