#FF6AFF#FF6AFF

#FF6AFF is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 76.1% C 0.246 H 327.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#FF6AFF
RGBrgb(255, 106, 255)
HSLhsl(300, 100%, 71%)
HSVhsv(300, 58%, 100%)
CMYKcmyk(0%, 58.4%, 0%, 0%)
CIE-LABlab(68.60, 74.60, -47.69)
CIE-LCHlch(68.60, 88.54, 327.41°)
OKLaboklab(76.09% 0.2077 -0.1315)
OKLCHoklch(76.09% 0.246 327.7)
XYZxyz(64.4431, 38.7922, 98.6817)
Luminance0.3879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF6AFF #6AFF6A
analogous
#B46AFF #FF6AFF #FF6AB4
triadic
#FF6AFF #FFFF6A #6AFFFF
tetradic
#FF6AFF #FFB46A #6AFF6A #6AB4FF
square
#FF6AFF #FFB46A #6AFF6A #6AB4FF
split-complementary
#FF6AFF #B4FF6A #6AFFB4
monochromatic
#EF00EF #FF2DFF #FF6AFF #FFA7FF #FFE0FF

Accessibility & contrast

On white

2.40
#FF6AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#FF6AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF6AFF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF6AFF#FFFFFF#000000##000000
##FF6AFF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#8CAEFB
Tritanopia (blue-blind)
#FF7DAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ff6aff;
/* rgb */ color: rgb(255, 106, 255);
/* oklch */ color: oklch(76.1% 0.246 327.7);
Tailwind
colors: {
  custom: {
    50: '#ff9dff',
    500: '#ff6aff',
    950: '#000000',
  },
}
SCSS
$custom: #ff6aff;
$custom-light: #ff9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff6aff",
  "rgb": {
    "r": 255,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.76087,
    "c": 0.24583,
    "h": 327.7
  },
  "luminance": 0.38788
}

Semantic roles & 50–950 ramp

primary
#FF6AFF
secondary
#CEF6CE
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#190F18
muted
#877F86

Preview Lab

Preview with #FF6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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