#FF7AFC#FF7AFC

#FF7AFC is a light, highly saturated purple. Relative luminance 0.422; OKLCH L 77.8% C 0.221 H 328.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#FF7AFC
RGBrgb(255, 122, 252)
HSLhsl(301, 100%, 74%)
HSVhsv(301, 52%, 100%)
CMYKcmyk(0%, 52.2%, 1.2%, 0%)
CIE-LABlab(71.02, 67.18, -42.26)
CIE-LCHlch(71.02, 79.36, 327.83°)
OKLaboklab(77.81% 0.1878 -0.116)
OKLCHoklch(77.81% 0.221 328.3)
XYZxyz(65.7693, 42.2113, 96.7600)
Luminance0.4221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7AFC #7AFF7D
analogous
#C07AFF #FF7AFC #FF7ABA
triadic
#FF7AFC #FCFF7A #7AFCFF
tetradic
#FF7AFC #FFC07A #7AFF7D #7ABAFF
square
#FF7AFC #FFC07A #7AFF7D #7ABAFF
split-complementary
#FF7AFC #BAFF7A #7AFFC0
monochromatic
#FF00F9 #FF3DFB #FF7AFC #FFB7FD #FFE0FE

Accessibility & contrast

On white

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

On black

9.44
#FF7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7AFC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7AFC#FFFFFF#000000##000000
##FF7AFC1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#FF88B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7afc;
/* rgb */ color: rgb(255, 122, 252);
/* oklch */ color: oklch(77.8% 0.221 328.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6fe',
    500: '#ff7afc',
    950: '#000000',
  },
}
SCSS
$custom: #ff7afc;
$custom-light: #ffa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7afc",
  "rgb": {
    "r": 255,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 301.353,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77812,
    "c": 0.22075,
    "h": 328.3
  },
  "luminance": 0.42207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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