#FFA6FB#FFA6FB

#FFA6FB is a very light, vivid purple. Relative luminance 0.555; OKLCH L 84.0% C 0.149 H 328.4°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#FFA6FB
RGBrgb(255, 166, 251)
HSLhsl(303, 100%, 83%)
HSVhsv(303, 35%, 100%)
CMYKcmyk(0%, 34.9%, 1.6%, 0%)
CIE-LABlab(79.33, 45.50, -28.84)
CIE-LCHlch(79.33, 53.87, 327.63°)
OKLaboklab(84% 0.127 -0.0782)
OKLCHoklch(84% 0.149 328.4)
XYZxyz(72.2875, 55.5005, 98.1530)
Luminance0.5550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA6FB #A6FFAA
analogous
#D7A6FF #FFA6FB #FFA6CE
triadic
#FFA6FB #FBFFA6 #A6FBFF
tetradic
#FFA6FB #FFD7A6 #A6FFAA #A6CEFF
square
#FFA6FB #FFD7A6 #A6FFAA #A6CEFF
split-complementary
#FFA6FB #CEFFA6 #A6FFD7
monochromatic
#FF2CF5 #FF69F8 #FFA6FB #FFE0FE #FFE0FE

Accessibility & contrast

On white

1.74
#FFA6FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#FFA6FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA6FB
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA6FB#FFFFFF#000000##000000
##FFA6FB1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BDFE
Deuteranopia (green-blind)
#B7C9F8
Tritanopia (blue-blind)
#FFADC6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ffa6fb;
/* rgb */ color: rgb(255, 166, 251);
/* oklch */ color: oklch(84.0% 0.149 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffc2fd',
    500: '#ffa6fb',
    950: '#000000',
  },
}
SCSS
$custom: #ffa6fb;
$custom-light: #ffc2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa6fb",
  "rgb": {
    "r": 255,
    "g": 166,
    "b": 251
  },
  "hsl": {
    "h": 302.697,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.84,
    "c": 0.14915,
    "h": 328.4
  },
  "luminance": 0.55497
}

Semantic roles & 50–950 ramp

primary
#FFA6FB
secondary
#65E46B
accent
#E60A00
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181217
muted
#868285

Preview Lab

Preview with #FFA6FB

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

Preview Lab → · Contrast checker → · Palette generator →

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