#FA7EF2#FA7EF2

#FA7EF2 is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.3% C 0.203 H 329.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#FA7EF2
RGBrgb(250, 126, 242)
HSLhsl(304, 93%, 74%)
HSVhsv(304, 50%, 98%)
CMYKcmyk(0%, 49.6%, 3.2%, 2%)
CIE-LABlab(70.64, 62.32, -37.43)
CIE-LCHlch(70.64, 72.69, 329.01°)
OKLaboklab(77.26% 0.1757 -0.1023)
OKLCHoklch(77.26% 0.203 329.8)
XYZxyz(62.9116, 41.6603, 88.7148)
Luminance0.4166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7EF2 #7EFA86
analogous
#C47EFA #FA7EF2 #FA7EB4
triadic
#FA7EF2 #F2FA7E #7EF2FA
tetradic
#FA7EF2 #FAC47E #7EFA86 #7EB4FA
square
#FA7EF2 #FAC47E #7EFA86 #7EB4FA
split-complementary
#FA7EF2 #B4FA7E #7EFAC4
monochromatic
#F409E5 #F843EC #FA7EF2 #FCB9F8 #FEE2FC

Accessibility & contrast

On white

2.25
#FA7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#FA7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7EF2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7EF2#FFFFFF#000000##000000
##FA7EF21.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#9BB3EE
Tritanopia (blue-blind)
#FF89AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fa7ef2;
/* rgb */ color: rgb(250, 126, 242);
/* oklch */ color: oklch(77.3% 0.203 329.8);
Tailwind
colors: {
  custom: {
    50: '#fea8f6',
    500: '#fa7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #fa7ef2;
$custom-light: #fea8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7ef2",
  "rgb": {
    "r": 250,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 303.871,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77258,
    "c": 0.20333,
    "h": 329.8
  },
  "luminance": 0.41657
}

Semantic roles & 50–950 ramp

primary
#FA7EF2
secondary
#D5F6D7
accent
#E60F00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FA7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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