#882DBA#882DBA

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

Color values

HEX#882DBA
RGBrgb(136, 45, 186)
HSLhsl(279, 61%, 45%)
HSVhsv(279, 76%, 73%)
CMYKcmyk(26.9%, 75.8%, 0%, 27.1%)
CIE-LABlab(39.00, 60.11, -56.81)
CIE-LCHlch(39.00, 82.71, 316.62°)
OKLaboklab(50.11% 0.1361 -0.161)
OKLCHoklch(50.11% 0.211 310.2)
XYZxyz(19.9529, 10.6566, 47.4507)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DBA #5FBA2D
analogous
#412DBA #882DBA #BA2DA6
triadic
#882DBA #BA882D #2DBA88
tetradic
#882DBA #BA412D #5FBA2D #2DA6BA
square
#882DBA #BA412D #5FBA2D #2DA6BA
split-complementary
#882DBA #A6BA2D #2DBA41
monochromatic
#401557 #642189 #882DBA #A550D5 #BF81E0

Accessibility & contrast

On white

6.71
#882DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#882DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DBA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DBA#FFFFFF#000000##FFFFFF
##882DBA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#045DB7
Tritanopia (blue-blind)
#814F72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882dba;
/* rgb */ color: rgb(136, 45, 186);
/* oklch */ color: oklch(50.1% 0.211 310.2);
Tailwind
colors: {
  custom: {
    50: '#b070d0',
    500: '#882dba',
    950: '#000000',
  },
}
SCSS
$custom: #882dba;
$custom-light: #b070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#882dba",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 278.723,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50109,
    "c": 0.21084,
    "h": 310.2
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#882DBA
secondary
#96C979
accent
#E4447D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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