#FF8EFA#FF8EFA

#FF8EFA is a light, vivid purple. Relative luminance 0.475; OKLCH L 80.4% C 0.188 H 328.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#FF8EFA
RGBrgb(255, 142, 250)
HSLhsl(303, 100%, 78%)
HSVhsv(303, 44%, 100%)
CMYKcmyk(0%, 44.3%, 2%, 0%)
CIE-LABlab(74.52, 57.40, -35.72)
CIE-LCHlch(74.52, 67.61, 328.11°)
OKLaboklab(80.38% 0.1608 -0.0975)
OKLCHoklch(80.38% 0.188 328.8)
XYZxyz(68.1673, 47.5117, 96.0040)
Luminance0.4751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8EFA #8EFF93
analogous
#CB8EFF #FF8EFA #FF8EC1
triadic
#FF8EFA #FAFF8E #8EFAFF
tetradic
#FF8EFA #FFCB8E #8EFF93 #8EC1FF
square
#FF8EFA #FFCB8E #8EFF93 #8EC1FF
split-complementary
#FF8EFA #C1FF8E #8EFFCB
monochromatic
#FF14F5 #FF51F7 #FF8EFA #FFCBFD #FFE0FE

Accessibility & contrast

On white

2.00
#FF8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#FF8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8EFA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8EFA#FFFFFF#000000##000000
##FF8EFA1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#A6BDF7
Tritanopia (blue-blind)
#FF98B9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ff8efa;
/* rgb */ color: rgb(255, 142, 250);
/* oklch */ color: oklch(80.4% 0.188 328.8);
Tailwind
colors: {
  custom: {
    50: '#ffb2fc',
    500: '#ff8efa',
    950: '#000000',
  },
}
SCSS
$custom: #ff8efa;
$custom-light: #ffb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8efa",
  "rgb": {
    "r": 255,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 302.655,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.80376,
    "c": 0.18805,
    "h": 328.8
  },
  "luminance": 0.47508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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