#FFA7FB#FFA7FB

#FFA7FB is a very light, vivid purple. Relative luminance 0.559; OKLCH L 84.2% C 0.147 H 328.4°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#FFA7FB
RGBrgb(255, 167, 251)
HSLhsl(303, 100%, 83%)
HSVhsv(303, 35%, 100%)
CMYKcmyk(0%, 34.5%, 1.6%, 0%)
CIE-LABlab(79.54, 44.98, -28.52)
CIE-LCHlch(79.54, 53.26, 327.62°)
OKLaboklab(84.16% 0.1255 -0.0773)
OKLCHoklch(84.16% 0.147 328.4)
XYZxyz(72.4700, 55.8655, 98.2138)
Luminance0.5586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA7FB #A7FFAB
analogous
#D7A7FF #FFA7FB #FFA7CF
triadic
#FFA7FB #FBFFA7 #A7FBFF
tetradic
#FFA7FB #FFD7A7 #A7FFAB #A7CFFF
square
#FFA7FB #FFD7A7 #A7FFAB #A7CFFF
split-complementary
#FFA7FB #CFFFA7 #A7FFD7
monochromatic
#FF2DF5 #FF6AF8 #FFA7FB #FFE0FE #FFE0FE

Accessibility & contrast

On white

1.73
#FFA7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#FFA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA7FB
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA7FB#FFFFFF#000000##000000
##FFA7FB1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BEFE
Deuteranopia (green-blind)
#B8C9F8
Tritanopia (blue-blind)
#FFAEC6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ffa7fb;
/* rgb */ color: rgb(255, 167, 251);
/* oklch */ color: oklch(84.2% 0.147 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffc2fc',
    500: '#ffa7fb',
    950: '#000000',
  },
}
SCSS
$custom: #ffa7fb;
$custom-light: #ffc2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa7fb",
  "rgb": {
    "r": 255,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 302.727,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.84157,
    "c": 0.14745,
    "h": 328.4
  },
  "luminance": 0.55862
}

Semantic roles & 50–950 ramp

primary
#FFA7FB
secondary
#66E46C
accent
#E60A00
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181217
muted
#868285

Preview Lab

Preview with #FFA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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