#FF7AFF#FF7AFF

#FF7AFF is a light, highly saturated purple. Relative luminance 0.424; OKLCH L 78.0% C 0.223 H 327.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#FF7AFF
RGBrgb(255, 122, 255)
HSLhsl(300, 100%, 74%)
HSVhsv(300, 52%, 100%)
CMYKcmyk(0%, 52.2%, 0%, 0%)
CIE-LABlab(71.15, 67.68, -43.69)
CIE-LCHlch(71.15, 80.56, 327.16°)
OKLaboklab(77.95% 0.1882 -0.1201)
OKLCHoklch(77.95% 0.223 327.5)
XYZxyz(66.2485, 42.4029, 99.2835)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7AFF #7AFF7A
analogous
#BD7AFF #FF7AFF #FF7ABD
triadic
#FF7AFF #FFFF7A #7AFFFF
tetradic
#FF7AFF #FFBD7A #7AFF7A #7ABDFF
square
#FF7AFF #FFBD7A #7AFF7A #7ABDFF
split-complementary
#FF7AFF #BDFF7A #7AFFBD
monochromatic
#FF00FF #FF3DFF #FF7AFF #FFB7FF #FFE0FF

Accessibility & contrast

On white

2.22
#FF7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#FF7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7AFF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7AFF#FFFFFF#000000##000000
##FF7AFF1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#FF89B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7aff;
/* rgb */ color: rgb(255, 122, 255);
/* oklch */ color: oklch(78.0% 0.223 327.5);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#ff7aff',
    950: '#000000',
  },
}
SCSS
$custom: #ff7aff;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7aff",
  "rgb": {
    "r": 255,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77951,
    "c": 0.22327,
    "h": 327.5
  },
  "luminance": 0.42399
}

Semantic roles & 50–950 ramp

primary
#FF7AFF
secondary
#D4F7D4
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FF7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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