#FF6AFB#FF6AFB

#FF6AFB is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.9% C 0.243 H 328.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#FF6AFB
RGBrgb(255, 106, 251)
HSLhsl(302, 100%, 71%)
HSVhsv(302, 58%, 100%)
CMYKcmyk(0%, 58.4%, 1.6%, 0%)
CIE-LABlab(68.41, 73.94, -45.79)
CIE-LCHlch(68.41, 86.97, 328.23°)
OKLaboklab(75.89% 0.2074 -0.126)
OKLCHoklch(75.89% 0.243 328.7)
XYZxyz(63.8059, 38.5373, 95.3258)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF6AFB #6AFF6E
analogous
#B86AFF #FF6AFB #FF6AB0
triadic
#FF6AFB #FBFF6A #6AFBFF
tetradic
#FF6AFB #FFB86A #6AFF6E #6AB0FF
square
#FF6AFB #FFB86A #6AFF6E #6AB0FF
split-complementary
#FF6AFB #B0FF6A #6AFFB8
monochromatic
#EF00E8 #FF2DF9 #FF6AFB #FFA7FD #FFE0FE

Accessibility & contrast

On white

2.41
#FF6AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#FF6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF6AFB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF6AFB#FFFFFF#000000##000000
##FF6AFB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#FF7BA9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ff6afb;
/* rgb */ color: rgb(255, 106, 251);
/* oklch */ color: oklch(75.9% 0.243 328.7);
Tailwind
colors: {
  custom: {
    50: '#ff9dfd',
    500: '#ff6afb',
    950: '#000000',
  },
}
SCSS
$custom: #ff6afb;
$custom-light: #ff9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff6afb",
  "rgb": {
    "r": 255,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 301.611,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75891,
    "c": 0.24266,
    "h": 328.7
  },
  "luminance": 0.38533
}

Semantic roles & 50–950 ramp

primary
#FF6AFB
secondary
#CEF6CF
accent
#E60600
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#190F17
muted
#877F85

Preview Lab

Preview with #FF6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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