#FF6AFA#FF6AFA

#FF6AFA is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.8% C 0.242 H 329.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#FF6AFA
RGBrgb(255, 106, 250)
HSLhsl(302, 100%, 71%)
HSVhsv(302, 58%, 100%)
CMYKcmyk(0%, 58.4%, 2%, 0%)
CIE-LABlab(68.37, 73.78, -45.31)
CIE-LCHlch(68.37, 86.58, 328.45°)
OKLaboklab(75.84% 0.2073 -0.1247)
OKLCHoklch(75.84% 0.242 329)
XYZxyz(63.6487, 38.4744, 94.4978)
Luminance0.3847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF6AFA #6AFF6F
analogous
#B96AFF #FF6AFA #FF6AB0
triadic
#FF6AFA #FAFF6A #6AFAFF
tetradic
#FF6AFA #FFB96A #6AFF6F #6AB0FF
square
#FF6AFA #FFB96A #6AFF6F #6AB0FF
split-complementary
#FF6AFA #B0FF6A #6AFFB9
monochromatic
#EF00E7 #FF2DF8 #FF6AFA #FFA7FC #FFE0FE

Accessibility & contrast

On white

2.42
#FF6AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#FF6AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF6AFA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF6AFA#FFFFFF#000000##000000
##FF6AFA1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff6afa;
/* rgb */ color: rgb(255, 106, 250);
/* oklch */ color: oklch(75.8% 0.242 329.0);
Tailwind
colors: {
  custom: {
    50: '#ff9dfc',
    500: '#ff6afa',
    950: '#000000',
  },
}
SCSS
$custom: #ff6afa;
$custom-light: #ff9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff6afa",
  "rgb": {
    "r": 255,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 302.013,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.24186,
    "h": 329
  },
  "luminance": 0.3847
}

Semantic roles & 50–950 ramp

primary
#FF6AFA
secondary
#CEF6D0
accent
#E60800
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#190F17
muted
#877F85

Preview Lab

Preview with #FF6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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