#FF7AF2#FF7AF2

#FF7AF2 is a light, highly saturated purple. Relative luminance 0.416; OKLCH L 77.4% C 0.213 H 331.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#FF7AF2
RGBrgb(255, 122, 242)
HSLhsl(306, 100%, 74%)
HSVhsv(306, 52%, 100%)
CMYKcmyk(0%, 52.2%, 5.1%, 0%)
CIE-LABlab(70.59, 65.53, -37.45)
CIE-LCHlch(70.59, 75.47, 330.25°)
OKLaboklab(77.36% 0.1863 -0.1022)
OKLCHoklch(77.36% 0.213 331.2)
XYZxyz(64.2262, 41.5940, 88.6328)
Luminance0.4159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7AF2 #7AFF87
analogous
#CA7AFF #FF7AF2 #FF7AB0
triadic
#FF7AF2 #F2FF7A #7AF2FF
tetradic
#FF7AF2 #FFCA7A #7AFF87 #7AB0FF
square
#FF7AF2 #FFCA7A #7AFF87 #7AB0FF
split-complementary
#FF7AF2 #B0FF7A #7AFFCA
monochromatic
#FF00E6 #FF3DEC #FF7AF2 #FFB7F8 #FFE0FC

Accessibility & contrast

On white

2.25
#FF7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#FF7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7AF2
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7AF2#FFFFFF#000000##000000
##FF7AF21.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#9CB3EE
Tritanopia (blue-blind)
#FF85AB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ff7af2;
/* rgb */ color: rgb(255, 122, 242);
/* oklch */ color: oklch(77.4% 0.213 331.2);
Tailwind
colors: {
  custom: {
    50: '#ffa6f6',
    500: '#ff7af2',
    950: '#000000',
  },
}
SCSS
$custom: #ff7af2;
$custom-light: #ffa6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7af2",
  "rgb": {
    "r": 255,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 305.865,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77358,
    "c": 0.21256,
    "h": 331.2
  },
  "luminance": 0.4159
}

Semantic roles & 50–950 ramp

primary
#FF7AF2
secondary
#D4F7D7
accent
#E61600
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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