#FF8AFA#FF8AFA

#FF8AFA is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.8% C 0.194 H 328.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#FF8AFA
RGBrgb(255, 138, 250)
HSLhsl(303, 100%, 77%)
HSVhsv(303, 46%, 100%)
CMYKcmyk(0%, 45.9%, 2%, 0%)
CIE-LABlab(73.77, 59.35, -36.88)
CIE-LCHlch(73.77, 69.87, 328.14°)
OKLaboklab(79.82% 0.1663 -0.1008)
OKLCHoklch(79.82% 0.194 328.8)
XYZxyz(67.5829, 46.3428, 95.8092)
Luminance0.4634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8AFA #8AFF8F
analogous
#CA8AFF #FF8AFA #FF8AC0
triadic
#FF8AFA #FAFF8A #8AFAFF
tetradic
#FF8AFA #FFCA8A #8AFF8F #8AC0FF
square
#FF8AFA #FFCA8A #8AFF8F #8AC0FF
split-complementary
#FF8AFA #C0FF8A #8AFFCA
monochromatic
#FF10F5 #FF4DF7 #FF8AFA #FFC7FD #FFE0FE

Accessibility & contrast

On white

2.05
#FF8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#FF8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8AFA
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8AFA#FFFFFF#000000##000000
##FF8AFA1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#A3BBF6
Tritanopia (blue-blind)
#FF95B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ff8afa;
/* rgb */ color: rgb(255, 138, 250);
/* oklch */ color: oklch(79.8% 0.194 328.8);
Tailwind
colors: {
  custom: {
    50: '#ffb0fc',
    500: '#ff8afa',
    950: '#000000',
  },
}
SCSS
$custom: #ff8afa;
$custom-light: #ffb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8afa",
  "rgb": {
    "r": 255,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 302.564,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79819,
    "c": 0.19444,
    "h": 328.8
  },
  "luminance": 0.46339
}

Semantic roles & 50–950 ramp

primary
#FF8AFA
secondary
#D4F7D5
accent
#E60A00
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FF8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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