#F262DF#F262DF

#F262DF is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 72.0% C 0.224 H 333.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#F262DF
RGBrgb(242, 98, 223)
HSLhsl(308, 85%, 67%)
HSVhsv(308, 60%, 95%)
CMYKcmyk(0%, 59.5%, 7.9%, 5.1%)
CIE-LABlab(64.12, 69.57, -37.15)
CIE-LCHlch(64.12, 78.87, 331.90°)
OKLaboklab(71.97% 0.2002 -0.1014)
OKLCHoklch(71.97% 0.224 333.1)
XYZxyz(54.3050, 32.9444, 73.2964)
Luminance0.3294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262DF #62F275
analogous
#BD62F2 #F262DF #F26297
triadic
#F262DF #DFF262 #62DFF2
tetradic
#F262DF #F2BD62 #62F275 #6297F2
square
#F262DF #F2BD62 #62F275 #6297F2
split-complementary
#F262DF #97F262 #62F2BD
monochromatic
#C911B1 #ED29D3 #F262DF #F79BEB #FBD3F6

Accessibility & contrast

On white

2.77
#F262DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#F262DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262DF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262DF#FFFFFF#000000##000000
##F262DF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#8CA3DB
Tritanopia (blue-blind)
#FC6D98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f262df;
/* rgb */ color: rgb(242, 98, 223);
/* oklch */ color: oklch(72.0% 0.224 333.1);
Tailwind
colors: {
  custom: {
    50: '#fa96e9',
    500: '#f262df',
    950: '#000000',
  },
}
SCSS
$custom: #f262df;
$custom-light: #fa96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f262df",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 307.917,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71975,
    "c": 0.22445,
    "h": 333.1
  },
  "luminance": 0.3294
}

Semantic roles & 50–950 ramp

primary
#F262DF
secondary
#C1EFC7
accent
#E12104
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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