#882BCE#882BCE

#882BCE is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.5% C 0.231 H 305.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#882BCE
RGBrgb(136, 43, 206)
HSLhsl(274, 65%, 49%)
HSVhsv(274, 79%, 81%)
CMYKcmyk(34%, 79.1%, 0%, 19.2%)
CIE-LABlab(40.28, 65.14, -66.41)
CIE-LCHlch(40.28, 93.03, 314.45°)
OKLaboklab(51.49% 0.1332 -0.1892)
OKLCHoklch(51.49% 0.231 305.1)
XYZxyz(22.1553, 11.4184, 59.4173)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BCE #71CE2B
analogous
#372BCE #882BCE #CE2BC3
triadic
#882BCE #CE882B #2BCE88
tetradic
#882BCE #CE372B #71CE2B #2BC3CE
square
#882BCE #CE372B #71CE2B #2BC3CE
split-complementary
#882BCE #C3CE2B #2BCE37
monochromatic
#451669 #67209B #882BCE #A45ADC #C08CE7

Accessibility & contrast

On white

6.40
#882BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#882BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BCE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BCE#FFFFFF#000000##FFFFFF
##882BCE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#7B577D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #882bce;
/* rgb */ color: rgb(136, 43, 206);
/* oklch */ color: oklch(51.5% 0.231 305.1);
Tailwind
colors: {
  custom: {
    50: '#b170de',
    500: '#882bce',
    950: '#000000',
  },
}
SCSS
$custom: #882bce;
$custom-light: #b170de;
$custom-dark: #000000;
JSON
{
  "hex": "#882bce",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 274.233,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51485,
    "c": 0.23142,
    "h": 305.1
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#882BCE
secondary
#A5D184
accent
#E83F88
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #882BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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