#FF8FF2#FF8FF2

#FF8FF2 is a light, vivid purple. Relative luminance 0.473; OKLCH L 80.2% C 0.180 H 331.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#FF8FF2
RGBrgb(255, 143, 242)
HSLhsl(307, 100%, 78%)
HSVhsv(307, 44%, 100%)
CMYKcmyk(0%, 43.9%, 5.1%, 0%)
CIE-LABlab(74.39, 55.56, -31.56)
CIE-LCHlch(74.39, 63.89, 330.40°)
OKLaboklab(80.18% 0.1578 -0.0857)
OKLCHoklch(80.18% 0.18 331.5)
XYZxyz(67.0889, 47.3195, 89.5870)
Luminance0.4732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8FF2 #8FFF9C
analogous
#D48FFF #FF8FF2 #FF8FBA
triadic
#FF8FF2 #F2FF8F #8FF2FF
tetradic
#FF8FF2 #FFD48F #8FFF9C #8FBAFF
square
#FF8FF2 #FFD48F #8FFF9C #8FBAFF
split-complementary
#FF8FF2 #BAFF8F #8FFFD4
monochromatic
#FF15E4 #FF52EB #FF8FF2 #FFCCF9 #FFE0FB

Accessibility & contrast

On white

2.01
#FF8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#FF8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8FF2
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8FF2#FFFFFF#000000##000000
##FF8FF21.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#AABDEF
Tritanopia (blue-blind)
#FF97B5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ff8ff2;
/* rgb */ color: rgb(255, 143, 242);
/* oklch */ color: oklch(80.2% 0.180 331.5);
Tailwind
colors: {
  custom: {
    50: '#ffb3f6',
    500: '#ff8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ff8ff2;
$custom-light: #ffb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8ff2",
  "rgb": {
    "r": 255,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 306.964,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80182,
    "c": 0.17956,
    "h": 331.5
  },
  "luminance": 0.47316
}

Semantic roles & 50–950 ramp

primary
#FF8FF2
secondary
#D4F7D8
accent
#E61B00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FF8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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