#8642BD#8642BD

#8642BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.188 H 306.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8642BD
RGBrgb(134, 66, 189)
HSLhsl(273, 48%, 50%)
HSVhsv(273, 65%, 74%)
CMYKcmyk(29.1%, 65.1%, 0%, 25.9%)
CIE-LABlab(42.21, 51.17, -53.38)
CIE-LCHlch(42.21, 73.95, 313.79°)
OKLaboklab(52.41% 0.1113 -0.1512)
OKLCHoklch(52.41% 0.188 306.4)
XYZxyz(20.9631, 12.6391, 49.4695)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642BD #79BD42
analogous
#4942BD #8642BD #BD42B6
triadic
#8642BD #BD8642 #42BD86
tetradic
#8642BD #BD4942 #79BD42 #42B6BD
square
#8642BD #BD4942 #79BD42 #42B6BD
split-complementary
#8642BD #B6BD42 #42BD49
monochromatic
#462262 #663290 #8642BD #A36FCD #C09DDD

Accessibility & contrast

On white

5.95
#8642BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8642BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642BD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642BD#FFFFFF#000000##FFFFFF
##8642BD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#7D5C7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8642bd;
/* rgb */ color: rgb(134, 66, 189);
/* oklch */ color: oklch(52.4% 0.188 306.4);
Tailwind
colors: {
  custom: {
    50: '#ad7bd2',
    500: '#8642bd',
    950: '#000000',
  },
}
SCSS
$custom: #8642bd;
$custom-light: #ad7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8642bd",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 273.171,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.52412,
    "c": 0.18774,
    "h": 306.4
  },
  "luminance": 0.12639
}

Semantic roles & 50–950 ramp

primary
#8642BD
secondary
#AAC992
accent
#D8508D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8642BD

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

Preview Lab → · Contrast checker → · Palette generator →

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