#FF8EF2#FF8EF2

#FF8EF2 is a light, vivid purple. Relative luminance 0.470; OKLCH L 80.0% C 0.181 H 331.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#FF8EF2
RGBrgb(255, 142, 242)
HSLhsl(307, 100%, 78%)
HSVhsv(307, 44%, 100%)
CMYKcmyk(0%, 44.3%, 5.1%, 0%)
CIE-LABlab(74.20, 56.05, -31.85)
CIE-LCHlch(74.20, 64.47, 330.39°)
OKLaboklab(80.04% 0.1592 -0.0865)
OKLCHoklch(80.04% 0.181 331.5)
XYZxyz(66.9395, 47.0206, 89.5372)
Luminance0.4702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8EF2 #8EFF9B
analogous
#D48EFF #FF8EF2 #FF8EB9
triadic
#FF8EF2 #F2FF8E #8EF2FF
tetradic
#FF8EF2 #FFD48E #8EFF9B #8EB9FF
square
#FF8EF2 #FFD48E #8EFF9B #8EB9FF
split-complementary
#FF8EF2 #B9FF8E #8EFFD4
monochromatic
#FF14E4 #FF51EB #FF8EF2 #FFCBF9 #FFE0FB

Accessibility & contrast

On white

2.02
#FF8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#FF8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8EF2
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8EF2#FFFFFF#000000##000000
##FF8EF21.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF5
Deuteranopia (green-blind)
#A9BCEF
Tritanopia (blue-blind)
#FF96B5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ff8ef2;
/* rgb */ color: rgb(255, 142, 242);
/* oklch */ color: oklch(80.0% 0.181 331.5);
Tailwind
colors: {
  custom: {
    50: '#ffb2f6',
    500: '#ff8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ff8ef2;
$custom-light: #ffb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8ef2",
  "rgb": {
    "r": 255,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 306.903,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.8004,
    "c": 0.18119,
    "h": 331.5
  },
  "luminance": 0.47017
}

Semantic roles & 50–950 ramp

primary
#FF8EF2
secondary
#D4F7D8
accent
#E61A00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FF8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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