#882FBA#882FBA

#882FBA is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.209 H 310.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#882FBA
RGBrgb(136, 47, 186)
HSLhsl(278, 60%, 46%)
HSVhsv(278, 75%, 73%)
CMYKcmyk(26.9%, 74.7%, 0%, 27.1%)
CIE-LABlab(39.26, 59.34, -56.38)
CIE-LCHlch(39.26, 81.85, 316.47°)
OKLaboklab(50.3% 0.1343 -0.1598)
OKLCHoklch(50.3% 0.209 310)
XYZxyz(20.0310, 10.8129, 47.4767)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FBA #61BA2F
analogous
#422FBA #882FBA #BA2FA6
triadic
#882FBA #BA882F #2FBA88
tetradic
#882FBA #BA422F #61BA2F #2FA6BA
square
#882FBA #BA422F #61BA2F #2FA6BA
split-complementary
#882FBA #A6BA2F #2FBA42
monochromatic
#411658 #642389 #882FBA #A553D3 #BF84E0

Accessibility & contrast

On white

6.64
#882FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#882FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FBA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FBA#FFFFFF#000000##FFFFFF
##882FBA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0A5EB7
Tritanopia (blue-blind)
#815073
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882fba;
/* rgb */ color: rgb(136, 47, 186);
/* oklch */ color: oklch(50.3% 0.209 310.0);
Tailwind
colors: {
  custom: {
    50: '#af71d0',
    500: '#882fba',
    950: '#000000',
  },
}
SCSS
$custom: #882fba;
$custom-light: #af71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#882fba",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 278.417,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.20871,
    "h": 310
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#882FBA
secondary
#98C97C
accent
#E3457E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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