#FF6AFE#FF6AFE

#FF6AFE is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 76.0% C 0.245 H 327.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#FF6AFE
RGBrgb(255, 106, 254)
HSLhsl(300, 100%, 71%)
HSVhsv(300, 58%, 100%)
CMYKcmyk(0%, 58.4%, 0.4%, 0%)
CIE-LABlab(68.55, 74.43, -47.21)
CIE-LCHlch(68.55, 88.14, 327.61°)
OKLaboklab(76.04% 0.2076 -0.1301)
OKLCHoklch(76.04% 0.245 327.9)
XYZxyz(64.2825, 38.7279, 97.8361)
Luminance0.3872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF6AFE #6AFF6B
analogous
#B56AFF #FF6AFE #FF6AB3
triadic
#FF6AFE #FEFF6A #6AFEFF
tetradic
#FF6AFE #FFB56A #6AFF6B #6AB3FF
square
#FF6AFE #FFB56A #6AFF6B #6AB3FF
split-complementary
#FF6AFE #B3FF6A #6AFFB5
monochromatic
#EF00ED #FF2DFE #FF6AFE #FFA7FE #FFE0FF

Accessibility & contrast

On white

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

On black

8.74
#FF6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF6AFE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF6AFE#FFFFFF#000000##000000
##FF6AFE1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff6afe;
/* rgb */ color: rgb(255, 106, 254);
/* oklch */ color: oklch(76.0% 0.245 327.9);
Tailwind
colors: {
  custom: {
    50: '#ff9dff',
    500: '#ff6afe',
    950: '#000000',
  },
}
SCSS
$custom: #ff6afe;
$custom-light: #ff9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff6afe",
  "rgb": {
    "r": 255,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 300.403,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.76038,
    "c": 0.24504,
    "h": 327.9
  },
  "luminance": 0.38724
}

Semantic roles & 50–950 ramp

primary
#FF6AFE
secondary
#CEF6CF
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#190F18
muted
#877F86

Preview Lab

Preview with #FF6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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