#8842BF#8842BF

#8842BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.190 H 306.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8842BF
RGBrgb(136, 66, 191)
HSLhsl(274, 49%, 50%)
HSVhsv(274, 65%, 75%)
CMYKcmyk(28.8%, 65.4%, 0%, 25.1%)
CIE-LABlab(42.60, 52.08, -53.92)
CIE-LCHlch(42.60, 74.96, 314.01°)
OKLaboklab(52.79% 0.1138 -0.1527)
OKLCHoklch(52.79% 0.19 306.7)
XYZxyz(21.5035, 12.8925, 50.6358)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842BF #79BF42
analogous
#4942BF #8842BF #BF42B7
triadic
#8842BF #BF8842 #42BF88
tetradic
#8842BF #BF4942 #79BF42 #42B7BF
square
#8842BF #BF4942 #79BF42 #42B7BF
split-complementary
#8842BF #B7BF42 #42BF49
monochromatic
#472265 #683292 #8842BF #A570CE #C29DDE

Accessibility & contrast

On white

5.87
#8842BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8842BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842BF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842BF#FFFFFF#000000##FFFFFF
##8842BF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#7F5D7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8842bf;
/* rgb */ color: rgb(136, 66, 191);
/* oklch */ color: oklch(52.8% 0.190 306.7);
Tailwind
colors: {
  custom: {
    50: '#af7bd3',
    500: '#8842bf',
    950: '#000000',
  },
}
SCSS
$custom: #8842bf;
$custom-light: #af7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8842bf",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 273.6,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.19043,
    "h": 306.7
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#8842BF
secondary
#ABCA93
accent
#D94F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8842BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8842BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva