#8642AE#8642AE

#8642AE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.172 H 310.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8642AE
RGBrgb(134, 66, 174)
HSLhsl(278, 45%, 47%)
HSVhsv(278, 62%, 68%)
CMYKcmyk(23%, 62.1%, 0%, 31.8%)
CIE-LABlab(41.25, 47.72, -46.11)
CIE-LCHlch(41.25, 66.35, 315.98°)
OKLaboklab(51.41% 0.1121 -0.1298)
OKLCHoklch(51.41% 0.172 310.8)
XYZxyz(19.4183, 12.0212, 41.3336)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642AE #6AAE42
analogous
#5042AE #8642AE #AE42A0
triadic
#8642AE #AE8642 #42AE86
tetradic
#8642AE #AE5042 #6AAE42 #42A0AE
square
#8642AE #AE5042 #6AAE42 #42A0AE
split-complementary
#8642AE #A0AE42 #42AE50
monochromatic
#422055 #643182 #8642AE #A368C6 #BE94D6

Accessibility & contrast

On white

6.17
#8642AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8642AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642AE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642AE#FFFFFF#000000##FFFFFF
##8642AE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#3763AB
Tritanopia (blue-blind)
#815772
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8642ae;
/* rgb */ color: rgb(134, 66, 174);
/* oklch */ color: oklch(51.4% 0.172 310.8);
Tailwind
colors: {
  custom: {
    50: '#ac7ac7',
    500: '#8642ae',
    950: '#000000',
  },
}
SCSS
$custom: #8642ae;
$custom-light: #ac7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8642ae",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 277.778,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51406,
    "c": 0.1715,
    "h": 310.8
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#8642AE
secondary
#9FC28A
accent
#D55383
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8642AE

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

Preview Lab → · Contrast checker → · Palette generator →

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