#8841B2#8841B2

#8841B2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.178 H 310.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8841B2
RGBrgb(136, 65, 178)
HSLhsl(278, 47%, 48%)
HSVhsv(278, 63%, 70%)
CMYKcmyk(23.6%, 63.5%, 0%, 30.2%)
CIE-LABlab(41.58, 49.60, -47.93)
CIE-LCHlch(41.58, 68.97, 315.98°)
OKLaboklab(51.78% 0.1158 -0.1351)
OKLCHoklch(51.78% 0.178 310.6)
XYZxyz(20.0780, 12.2296, 43.4137)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8841B2 #6BB241
analogous
#4F41B2 #8841B2 #B241A3
triadic
#8841B2 #B28841 #41B288
tetradic
#8841B2 #B24F41 #6BB241 #41A3B2
square
#8841B2 #B24F41 #6BB241 #41A3B2
split-complementary
#8841B2 #A3B241 #41B24F
monochromatic
#432058 #663185 #8841B2 #A468C8 #BF95D8

Accessibility & contrast

On white

6.09
#8841B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8841B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8841B2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8841B2#FFFFFF#000000##FFFFFF
##8841B21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065FB5
Deuteranopia (green-blind)
#3463AF
Tritanopia (blue-blind)
#835773
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8841b2;
/* rgb */ color: rgb(136, 65, 178);
/* oklch */ color: oklch(51.8% 0.178 310.6);
Tailwind
colors: {
  custom: {
    50: '#ae7aca',
    500: '#8841b2',
    950: '#000000',
  },
}
SCSS
$custom: #8841b2;
$custom-light: #ae7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8841b2",
  "rgb": {
    "r": 136,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 277.699,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.17792,
    "h": 310.6
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#8841B2
secondary
#A0C48B
accent
#D65283
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8841B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8841B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva