#F262DD#F262DD

#F262DD is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.9% C 0.223 H 333.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#F262DD
RGBrgb(242, 98, 221)
HSLhsl(309, 85%, 67%)
HSVhsv(309, 60%, 95%)
CMYKcmyk(0%, 59.5%, 8.7%, 5.1%)
CIE-LABlab(64.03, 69.26, -36.17)
CIE-LCHlch(64.03, 78.13, 332.43°)
OKLaboklab(71.88% 0.2 -0.0986)
OKLCHoklch(71.88% 0.223 333.7)
XYZxyz(54.0370, 32.8372, 71.8847)
Luminance0.3283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262DD #62F277
analogous
#BF62F2 #F262DD #F26295
triadic
#F262DD #DDF262 #62DDF2
tetradic
#F262DD #F2BF62 #62F277 #6295F2
square
#F262DD #F2BF62 #62F277 #6295F2
split-complementary
#F262DD #95F262 #62F2BF
monochromatic
#C911AE #ED29D1 #F262DD #F79BE9 #FBD3F5

Accessibility & contrast

On white

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

On black

7.57
#F262DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262DD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262DD#FFFFFF#000000##000000
##F262DD1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE1
Deuteranopia (green-blind)
#8DA3D9
Tritanopia (blue-blind)
#FC6C97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f262dd;
/* rgb */ color: rgb(242, 98, 221);
/* oklch */ color: oklch(71.9% 0.223 333.7);
Tailwind
colors: {
  custom: {
    50: '#fa96e8',
    500: '#f262dd',
    950: '#000000',
  },
}
SCSS
$custom: #f262dd;
$custom-light: #fa96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f262dd",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 308.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71883,
    "c": 0.22295,
    "h": 333.7
  },
  "luminance": 0.32833
}

Semantic roles & 50–950 ramp

primary
#F262DD
secondary
#C1EFC7
accent
#E12504
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F262DD

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

Preview Lab → · Contrast checker → · Palette generator →

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