#FFA7FF#FFA7FF

#FFA7FF is a very light, vivid purple. Relative luminance 0.561; OKLCH L 84.3% C 0.151 H 326.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#FFA7FF
RGBrgb(255, 167, 255)
HSLhsl(300, 100%, 83%)
HSVhsv(300, 35%, 100%)
CMYKcmyk(0%, 34.5%, 0%, 0%)
CIE-LABlab(79.68, 45.69, -30.45)
CIE-LCHlch(79.68, 54.91, 326.32°)
OKLaboklab(84.32% 0.1265 -0.0827)
OKLCHoklch(84.32% 0.151 326.8)
XYZxyz(73.1072, 56.1204, 101.5697)
Luminance0.5612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA7FF #A7FFA7
analogous
#D3A7FF #FFA7FF #FFA7D3
triadic
#FFA7FF #FFFFA7 #A7FFFF
tetradic
#FFA7FF #FFD3A7 #A7FFA7 #A7D3FF
square
#FFA7FF #FFD3A7 #A7FFA7 #A7D3FF
split-complementary
#FFA7FF #D3FFA7 #A7FFD3
monochromatic
#FF2DFF #FF6AFF #FFA7FF #FFE0FF #FFE0FF

Accessibility & contrast

On white

1.72
#FFA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#FFA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA7FF
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA7FF#FFFFFF#000000##000000
##FFA7FF1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BEFF
Deuteranopia (green-blind)
#B7CAFC
Tritanopia (blue-blind)
#FFAFC8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ffa7ff;
/* rgb */ color: rgb(255, 167, 255);
/* oklch */ color: oklch(84.3% 0.151 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffc2ff',
    500: '#ffa7ff',
    950: '#000000',
  },
}
SCSS
$custom: #ffa7ff;
$custom-light: #ffc2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa7ff",
  "rgb": {
    "r": 255,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.84315,
    "c": 0.15118,
    "h": 326.8
  },
  "luminance": 0.56117
}

Semantic roles & 50–950 ramp

primary
#FFA7FF
secondary
#66E466
accent
#E60000
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181218
muted
#868286

Preview Lab

Preview with #FFA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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