#FF7AFD#FF7AFD

#FF7AFD is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.9% C 0.222 H 328.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#FF7AFD
RGBrgb(255, 122, 253)
HSLhsl(301, 100%, 74%)
HSVhsv(301, 52%, 100%)
CMYKcmyk(0%, 52.2%, 0.8%, 0%)
CIE-LABlab(71.06, 67.34, -42.73)
CIE-LCHlch(71.06, 79.76, 327.60°)
OKLaboklab(77.86% 0.188 -0.1174)
OKLCHoklch(77.86% 0.222 328)
XYZxyz(65.9282, 42.2748, 97.5968)
Luminance0.4227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7AFD #7AFF7C
analogous
#BF7AFF #FF7AFD #FF7ABB
triadic
#FF7AFD #FDFF7A #7AFDFF
tetradic
#FF7AFD #FFBF7A #7AFF7C #7ABBFF
square
#FF7AFD #FFBF7A #7AFF7C #7ABBFF
split-complementary
#FF7AFD #BBFF7A #7AFFBF
monochromatic
#FF00FB #FF3DFC #FF7AFD #FFB7FE #FFE0FF

Accessibility & contrast

On white

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

On black

9.45
#FF7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7AFD
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7AFD#FFFFFF#000000##000000
##FF7AFD1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#FF88B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7afd;
/* rgb */ color: rgb(255, 122, 253);
/* oklch */ color: oklch(77.9% 0.222 328.0);
Tailwind
colors: {
  custom: {
    50: '#ffa6fe',
    500: '#ff7afd',
    950: '#000000',
  },
}
SCSS
$custom: #ff7afd;
$custom-light: #ffa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7afd",
  "rgb": {
    "r": 255,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 300.902,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77858,
    "c": 0.22159,
    "h": 328
  },
  "luminance": 0.42271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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