#FF8EFB#FF8EFB

#FF8EFB is a light, vivid purple. Relative luminance 0.476; OKLCH L 80.4% C 0.189 H 328.5°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#FF8EFB
RGBrgb(255, 142, 251)
HSLhsl(302, 100%, 78%)
HSVhsv(302, 44%, 100%)
CMYKcmyk(0%, 44.3%, 1.6%, 0%)
CIE-LABlab(74.56, 57.58, -36.20)
CIE-LCHlch(74.56, 68.01, 327.84°)
OKLaboklab(80.42% 0.161 -0.0988)
OKLCHoklch(80.42% 0.189 328.5)
XYZxyz(68.3246, 47.5746, 96.8320)
Luminance0.4757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8EFB #8EFF92
analogous
#CA8EFF #FF8EFB #FF8EC2
triadic
#FF8EFB #FBFF8E #8EFBFF
tetradic
#FF8EFB #FFCA8E #8EFF92 #8EC2FF
square
#FF8EFB #FFCA8E #8EFF92 #8EC2FF
split-complementary
#FF8EFB #C2FF8E #8EFFCA
monochromatic
#FF14F7 #FF51F9 #FF8EFB #FFCBFD #FFE0FE

Accessibility & contrast

On white

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

On black

10.51
#FF8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8EFB
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8EFB#FFFFFF#000000##000000
##FF8EFB1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#FF98B9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ff8efb;
/* rgb */ color: rgb(255, 142, 251);
/* oklch */ color: oklch(80.4% 0.189 328.5);
Tailwind
colors: {
  custom: {
    50: '#ffb2fd',
    500: '#ff8efb',
    950: '#000000',
  },
}
SCSS
$custom: #ff8efb;
$custom-light: #ffb2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8efb",
  "rgb": {
    "r": 255,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 302.124,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.80419,
    "c": 0.18892,
    "h": 328.5
  },
  "luminance": 0.47571
}

Semantic roles & 50–950 ramp

primary
#FF8EFB
secondary
#D4F7D5
accent
#E60800
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FF8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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