#FA7BF2#FA7BF2

#FA7BF2 is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.9% C 0.208 H 329.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#FA7BF2
RGBrgb(250, 123, 242)
HSLhsl(304, 93%, 73%)
HSVhsv(304, 51%, 98%)
CMYKcmyk(0%, 50.8%, 3.2%, 2%)
CIE-LABlab(70.11, 63.71, -38.25)
CIE-LCHlch(70.11, 74.31, 329.02°)
OKLaboklab(76.87% 0.1797 -0.1046)
OKLCHoklch(76.87% 0.208 329.8)
XYZxyz(62.5337, 40.9045, 88.5888)
Luminance0.4090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7BF2 #7BFA83
analogous
#C37BFA #FA7BF2 #FA7BB2
triadic
#FA7BF2 #F2FA7B #7BF2FA
tetradic
#FA7BF2 #FAC37B #7BFA83 #7BB2FA
square
#FA7BF2 #FAC37B #7BFA83 #7BB2FA
split-complementary
#FA7BF2 #B2FA7B #7BFAC3
monochromatic
#F109E3 #F840EC #FA7BF2 #FCB6F8 #FEE2FC

Accessibility & contrast

On white

2.29
#FA7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#FA7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7BF2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7BF2#FFFFFF#000000##000000
##FA7BF21.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#99B2EE
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fa7bf2;
/* rgb */ color: rgb(250, 123, 242);
/* oklch */ color: oklch(76.9% 0.208 329.8);
Tailwind
colors: {
  custom: {
    50: '#fea6f6',
    500: '#fa7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #fa7bf2;
$custom-light: #fea6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7bf2",
  "rgb": {
    "r": 250,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 303.78,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76868,
    "c": 0.20793,
    "h": 329.8
  },
  "luminance": 0.40901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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