#882DBC#882DBC

#882DBC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.213 H 309.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#882DBC
RGBrgb(136, 45, 188)
HSLhsl(278, 61%, 46%)
HSVhsv(278, 76%, 74%)
CMYKcmyk(27.7%, 76.1%, 0%, 26.3%)
CIE-LABlab(39.14, 60.54, -57.75)
CIE-LCHlch(39.14, 83.66, 316.35°)
OKLaboklab(50.26% 0.1357 -0.1638)
OKLCHoklch(50.26% 0.213 309.6)
XYZxyz(20.1670, 10.7423, 48.5783)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DBC #61BC2D
analogous
#412DBC #882DBC #BC2DA8
triadic
#882DBC #BC882D #2DBC88
tetradic
#882DBC #BC412D #61BC2D #2DA8BC
square
#882DBC #BC412D #61BC2D #2DA8BC
split-complementary
#882DBC #A8BC2D #2DBC41
monochromatic
#411559 #64218B #882DBC #A551D5 #BF82E1

Accessibility & contrast

On white

6.67
#882DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#882DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DBC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DBC#FFFFFF#000000##FFFFFF
##882DBC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#805073
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882dbc;
/* rgb */ color: rgb(136, 45, 188);
/* oklch */ color: oklch(50.3% 0.213 309.6);
Tailwind
colors: {
  custom: {
    50: '#b070d1',
    500: '#882dbc',
    950: '#000000',
  },
}
SCSS
$custom: #882dbc;
$custom-light: #b070d1;
$custom-dark: #000000;
JSON
{
  "hex": "#882dbc",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 278.182,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.21272,
    "h": 309.6
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#882DBC
secondary
#98CA7B
accent
#E4437E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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