#8642BF#8642BF

#8642BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.190 H 305.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8642BF
RGBrgb(134, 66, 191)
HSLhsl(273, 49%, 50%)
HSVhsv(273, 65%, 75%)
CMYKcmyk(29.8%, 65.4%, 0%, 25.1%)
CIE-LABlab(42.35, 51.64, -54.34)
CIE-LCHlch(42.35, 74.96, 313.54°)
OKLaboklab(52.55% 0.1112 -0.154)
OKLCHoklch(52.55% 0.19 305.8)
XYZxyz(21.1817, 12.7265, 50.6207)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642BF #7BBF42
analogous
#4742BF #8642BF #BF42B9
triadic
#8642BF #BF8642 #42BF86
tetradic
#8642BF #BF4742 #7BBF42 #42B9BF
square
#8642BF #BF4742 #7BBF42 #42B9BF
split-complementary
#8642BF #B9BF42 #42BF47
monochromatic
#462265 #663292 #8642BF #A370CE #C19DDE

Accessibility & contrast

On white

5.92
#8642BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8642BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642BF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642BF#FFFFFF#000000##FFFFFF
##8642BF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#7C5D7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8642bf;
/* rgb */ color: rgb(134, 66, 191);
/* oklch */ color: oklch(52.6% 0.190 305.8);
Tailwind
colors: {
  custom: {
    50: '#ad7bd3',
    500: '#8642bf',
    950: '#000000',
  },
}
SCSS
$custom: #8642bf;
$custom-light: #ad7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8642bf",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 272.64,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.18991,
    "h": 305.8
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#8642BF
secondary
#ACCA93
accent
#D94F8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8642BF

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

Preview Lab → · Contrast checker → · Palette generator →

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