#8642BC#8642BC

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

Color values

HEX#8642BC
RGBrgb(134, 66, 188)
HSLhsl(273, 48%, 50%)
HSVhsv(273, 65%, 74%)
CMYKcmyk(28.7%, 64.9%, 0%, 26.3%)
CIE-LABlab(42.15, 50.94, -52.91)
CIE-LCHlch(42.15, 73.44, 313.91°)
OKLaboklab(52.34% 0.1114 -0.1498)
OKLCHoklch(52.34% 0.187 306.6)
XYZxyz(20.8549, 12.5958, 48.8998)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642BC #78BC42
analogous
#4942BC #8642BC #BC42B5
triadic
#8642BC #BC8642 #42BC86
tetradic
#8642BC #BC4942 #78BC42 #42B5BC
square
#8642BC #BC4942 #78BC42 #42B5BC
split-complementary
#8642BC #B5BC42 #42BC49
monochromatic
#452261 #66328F #8642BC #A36FCC #C09CDC

Accessibility & contrast

On white

5.97
#8642BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8642BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642BC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642BC#FFFFFF#000000##FFFFFF
##8642BC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#7D5C79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8642bc;
/* rgb */ color: rgb(134, 66, 188);
/* oklch */ color: oklch(52.3% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#ad7bd1',
    500: '#8642bc',
    950: '#000000',
  },
}
SCSS
$custom: #8642bc;
$custom-light: #ad7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8642bc",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 273.443,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.18666,
    "h": 306.6
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#8642BC
secondary
#AAC991
accent
#D8508C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8642BC

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

Preview Lab → · Contrast checker → · Palette generator →

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