#8642BB#8642BB

#8642BB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.186 H 306.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8642BB
RGBrgb(134, 66, 187)
HSLhsl(274, 48%, 50%)
HSVhsv(274, 65%, 73%)
CMYKcmyk(28.3%, 64.7%, 0%, 26.7%)
CIE-LABlab(42.08, 50.70, -52.43)
CIE-LCHlch(42.08, 72.93, 314.04°)
OKLaboklab(52.27% 0.1115 -0.1483)
OKLCHoklch(52.27% 0.186 306.9)
XYZxyz(20.7475, 12.5529, 48.3340)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642BB #77BB42
analogous
#4A42BB #8642BB #BB42B4
triadic
#8642BB #BB8642 #42BB86
tetradic
#8642BB #BB4A42 #77BB42 #42B4BB
square
#8642BB #BB4A42 #77BB42 #42B4BB
split-complementary
#8642BB #B4BB42 #42BB4A
monochromatic
#452261 #66328E #8642BB #A36ECC #C09CDC

Accessibility & contrast

On white

5.98
#8642BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8642BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642BB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642BB#FFFFFF#000000##FFFFFF
##8642BB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#7D5B79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8642bb;
/* rgb */ color: rgb(134, 66, 187);
/* oklch */ color: oklch(52.3% 0.186 306.9);
Tailwind
colors: {
  custom: {
    50: '#ad7bd0',
    500: '#8642bb',
    950: '#000000',
  },
}
SCSS
$custom: #8642bb;
$custom-light: #ad7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8642bb",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 273.719,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.18557,
    "h": 306.9
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#8642BB
secondary
#A9C891
accent
#D7508C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8642BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8642BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva