#FF7AF7#FF7AF7

#FF7AF7 is a light, highly saturated purple. Relative luminance 0.419; OKLCH L 77.6% C 0.217 H 329.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#FF7AF7
RGBrgb(255, 122, 247)
HSLhsl(304, 100%, 74%)
HSVhsv(304, 52%, 100%)
CMYKcmyk(0%, 52.2%, 3.1%, 0%)
CIE-LABlab(70.80, 66.35, -39.86)
CIE-LCHlch(70.80, 77.40, 329.00°)
OKLaboklab(77.58% 0.1871 -0.1091)
OKLCHoklch(77.58% 0.217 329.7)
XYZxyz(64.9874, 41.8985, 92.6419)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7AF7 #7AFF82
analogous
#C57AFF #FF7AF7 #FF7AB5
triadic
#FF7AF7 #F7FF7A #7AF7FF
tetradic
#FF7AF7 #FFC57A #7AFF82 #7AB5FF
square
#FF7AF7 #FFC57A #7AFF82 #7AB5FF
split-complementary
#FF7AF7 #B5FF7A #7AFFC5
monochromatic
#FF00EF #FF3DF3 #FF7AF7 #FFB7FB #FFE0FD

Accessibility & contrast

On white

2.24
#FF7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#FF7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7AF7
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7AF7#FFFFFF#000000##000000
##FF7AF71.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FB
Deuteranopia (green-blind)
#9AB4F3
Tritanopia (blue-blind)
#FF86AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ff7af7;
/* rgb */ color: rgb(255, 122, 247);
/* oklch */ color: oklch(77.6% 0.217 329.7);
Tailwind
colors: {
  custom: {
    50: '#ffa6fa',
    500: '#ff7af7',
    950: '#000000',
  },
}
SCSS
$custom: #ff7af7;
$custom-light: #ffa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7af7",
  "rgb": {
    "r": 255,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 303.609,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77583,
    "c": 0.21662,
    "h": 329.7
  },
  "luminance": 0.41894
}

Semantic roles & 50–950 ramp

primary
#FF7AF7
secondary
#D4F7D6
accent
#E60E00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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