#881FAF#881FAF

#881FAF is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.2% C 0.214 H 314.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#881FAF
RGBrgb(136, 31, 175)
HSLhsl(284, 70%, 40%)
HSVhsv(284, 82%, 69%)
CMYKcmyk(22.3%, 82.3%, 0%, 31.4%)
CIE-LABlab(36.57, 62.52, -54.22)
CIE-LCHlch(36.57, 82.76, 319.07°)
OKLaboklab(48.15% 0.1496 -0.1533)
OKLCHoklch(48.15% 0.214 314.3)
XYZxyz(18.3799, 9.3100, 41.3780)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881FAF #46AF1F
analogous
#401FAF #881FAF #AF1F8E
triadic
#881FAF #AF881F #1FAF88
tetradic
#881FAF #AF401F #46AF1F #1F8EAF
square
#881FAF #AF401F #46AF1F #1F8EAF
split-complementary
#881FAF #8EAF1F #1FAF40
monochromatic
#370D47 #60167B #881FAF #AC31DA #C165E4

Accessibility & contrast

On white

7.34
#881FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#881FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881FAF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881FAF#FFFFFF#000000##FFFFFF
##881FAF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0E58AC
Tritanopia (blue-blind)
#844369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #881faf;
/* rgb */ color: rgb(136, 31, 175);
/* oklch */ color: oklch(48.2% 0.214 314.3);
Tailwind
colors: {
  custom: {
    50: '#b069c8',
    500: '#881faf',
    950: '#000000',
  },
}
SCSS
$custom: #881faf;
$custom-light: #b069c8;
$custom-dark: #000000;
JSON
{
  "hex": "#881faf",
  "rgb": {
    "r": 136,
    "g": 31,
    "b": 175
  },
  "hsl": {
    "h": 283.75,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.21422,
    "h": 314.3
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#881FAF
secondary
#7DC961
accent
#ED3B6B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #881FAF

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

Preview Lab → · Contrast checker → · Palette generator →

#881FAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva