#882FB7#882FB7

#882FB7 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.206 H 310.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#882FB7
RGBrgb(136, 47, 183)
HSLhsl(279, 59%, 45%)
HSVhsv(279, 74%, 72%)
CMYKcmyk(25.7%, 74.3%, 0%, 28.2%)
CIE-LABlab(39.05, 58.70, -54.96)
CIE-LCHlch(39.05, 80.42, 316.89°)
OKLaboklab(50.08% 0.1348 -0.1556)
OKLCHoklch(50.08% 0.206 310.9)
XYZxyz(19.7155, 10.6866, 45.8147)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FB7 #5EB72F
analogous
#442FB7 #882FB7 #B72FA2
triadic
#882FB7 #B7882F #2FB788
tetradic
#882FB7 #B7442F #5EB72F #2FA2B7
square
#882FB7 #B7442F #5EB72F #2FA2B7
split-complementary
#882FB7 #A2B72F #2FB744
monochromatic
#401656 #642286 #882FB7 #A651D2 #BF82DF

Accessibility & contrast

On white

6.69
#882FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#882FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FB7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FB7#FFFFFF#000000##FFFFFF
##882FB71.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#145DB4
Tritanopia (blue-blind)
#824E71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882fb7;
/* rgb */ color: rgb(136, 47, 183);
/* oklch */ color: oklch(50.1% 0.206 310.9);
Tailwind
colors: {
  custom: {
    50: '#af70cd',
    500: '#882fb7',
    950: '#000000',
  },
}
SCSS
$custom: #882fb7;
$custom-light: #af70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#882fb7",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 279.265,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.20587,
    "h": 310.9
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#882FB7
secondary
#95C87A
accent
#E2457C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882FB7

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

Preview Lab → · Contrast checker → · Palette generator →

#882FB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva