#882DCA#882DCA

#882DCA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.226 H 306.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#882DCA
RGBrgb(136, 45, 202)
HSLhsl(275, 64%, 48%)
HSVhsv(275, 78%, 79%)
CMYKcmyk(32.7%, 77.7%, 0%, 20.8%)
CIE-LABlab(40.21, 63.56, -64.20)
CIE-LCHlch(40.21, 90.34, 314.71°)
OKLaboklab(51.34% 0.1327 -0.1828)
OKLCHoklch(51.34% 0.226 306)
XYZxyz(21.7500, 11.3755, 56.9155)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DCA #6FCA2D
analogous
#392DCA #882DCA #CA2DBD
triadic
#882DCA #CA882D #2DCA88
tetradic
#882DCA #CA392D #6FCA2D #2DBDCA
square
#882DCA #CA392D #6FCA2D #2DBDCA
split-complementary
#882DCA #BDCA2D #2DCA39
monochromatic
#451766 #662298 #882DCA #A45ADA #C08CE5

Accessibility & contrast

On white

6.41
#882DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882DCA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DCA#FFFFFF#000000##FFFFFF
##882DCA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#7C567B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #882dca;
/* rgb */ color: rgb(136, 45, 202);
/* oklch */ color: oklch(51.3% 0.226 306.0);
Tailwind
colors: {
  custom: {
    50: '#b170db',
    500: '#882dca',
    950: '#000000',
  },
}
SCSS
$custom: #882dca;
$custom-light: #b170db;
$custom-dark: #000000;
JSON
{
  "hex": "#882dca",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 274.777,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.22583,
    "h": 306
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#882DCA
secondary
#A3CF83
accent
#E74187
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #882DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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