#FB8EFA#FB8EFA

#FB8EFA is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.9% C 0.186 H 327.5°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#FB8EFA
RGBrgb(251, 142, 250)
HSLhsl(301, 93%, 77%)
HSVhsv(301, 43%, 98%)
CMYKcmyk(0%, 43.4%, 0.4%, 1.6%)
CIE-LABlab(74.04, 56.26, -36.50)
CIE-LCHlch(74.04, 67.06, 327.02°)
OKLaboklab(79.92% 0.1564 -0.0998)
OKLCHoklch(79.92% 0.186 327.5)
XYZxyz(66.7108, 46.7607, 95.9358)
Luminance0.4676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8EFA #8EFB8F
analogous
#C58EFB #FB8EFA #FB8EC4
triadic
#FB8EFA #FAFB8E #8EFAFB
tetradic
#FB8EFA #FBC58E #8EFB8F #8EC4FB
square
#FB8EFA #FBC58E #8EFB8F #8EC4FB
split-complementary
#FB8EFA #C4FB8E #8EFBC5
monochromatic
#F718F5 #F953F7 #FB8EFA #FDC9FD #FEE1FE

Accessibility & contrast

On white

2.03
#FB8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#FB8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8EFA
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8EFA#FFFFFF#000000##000000
##FB8EFA1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#A4BBF7
Tritanopia (blue-blind)
#FF99B8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fb8efa;
/* rgb */ color: rgb(251, 142, 250);
/* oklch */ color: oklch(79.9% 0.186 327.5);
Tailwind
colors: {
  custom: {
    50: '#ffb2fc',
    500: '#fb8efa',
    950: '#000000',
  },
}
SCSS
$custom: #fb8efa;
$custom-light: #ffb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8efa",
  "rgb": {
    "r": 251,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 300.55,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79917,
    "c": 0.18554,
    "h": 327.5
  },
  "luminance": 0.46757
}

Semantic roles & 50–950 ramp

primary
#FB8EFA
secondary
#D5F6D5
accent
#E60200
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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