#FF7AFA#FF7AFA

#FF7AFA is a light, highly saturated purple. Relative luminance 0.421; OKLCH L 77.7% C 0.219 H 328.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#FF7AFA
RGBrgb(255, 122, 250)
HSLhsl(302, 100%, 74%)
HSVhsv(302, 52%, 100%)
CMYKcmyk(0%, 52.2%, 2%, 0%)
CIE-LABlab(70.93, 66.84, -41.30)
CIE-LCHlch(70.93, 78.57, 328.29°)
OKLaboklab(77.72% 0.1875 -0.1133)
OKLCHoklch(77.72% 0.219 328.9)
XYZxyz(65.4541, 42.0852, 95.0996)
Luminance0.4208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7AFA #7AFF7F
analogous
#C27AFF #FF7AFA #FF7AB8
triadic
#FF7AFA #FAFF7A #7AFAFF
tetradic
#FF7AFA #FFC27A #7AFF7F #7AB8FF
square
#FF7AFA #FFC27A #7AFF7F #7AB8FF
split-complementary
#FF7AFA #B8FF7A #7AFFC2
monochromatic
#FF00F5 #FF3DF8 #FF7AFA #FFB7FC #FFE0FE

Accessibility & contrast

On white

2.23
#FF7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#FF7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7AFA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7AFA#FFFFFF#000000##000000
##FF7AFA1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#99B4F6
Tritanopia (blue-blind)
#FF87AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7afa;
/* rgb */ color: rgb(255, 122, 250);
/* oklch */ color: oklch(77.7% 0.219 328.9);
Tailwind
colors: {
  custom: {
    50: '#ffa6fc',
    500: '#ff7afa',
    950: '#000000',
  },
}
SCSS
$custom: #ff7afa;
$custom-light: #ffa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7afa",
  "rgb": {
    "r": 255,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 302.256,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7772,
    "c": 0.21909,
    "h": 328.9
  },
  "luminance": 0.42081
}

Semantic roles & 50–950 ramp

primary
#FF7AFA
secondary
#D4F7D5
accent
#E60900
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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