#8642CE#8642CE

#8642CE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.206 H 302.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8642CE
RGBrgb(134, 66, 206)
HSLhsl(269, 59%, 53%)
HSVhsv(269, 68%, 81%)
CMYKcmyk(35%, 68%, 0%, 19.2%)
CIE-LABlab(43.39, 55.21, -61.36)
CIE-LCHlch(43.39, 82.54, 311.98°)
OKLaboklab(53.63% 0.1095 -0.1746)
OKLCHoklch(53.63% 0.206 302.1)
XYZxyz(22.9177, 13.4209, 59.7637)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642CE #8ACE42
analogous
#4244CE #8642CE #CC42CE
triadic
#8642CE #CE8642 #42CE86
tetradic
#8642CE #CE4244 #8ACE42 #42CECC
square
#8642CE #CE4244 #8ACE42 #42CECC
split-complementary
#8642CE #CECC42 #44CE42
monochromatic
#4A1F77 #682BA7 #8642CE #A573DB #C4A3E7

Accessibility & contrast

On white

5.70
#8642CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8642CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642CE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642CE#FFFFFF#000000##FFFFFF
##8642CE1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#776283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8642ce;
/* rgb */ color: rgb(134, 66, 206);
/* oklch */ color: oklch(53.6% 0.206 302.1);
Tailwind
colors: {
  custom: {
    50: '#af7bde',
    500: '#8642ce',
    950: '#000000',
  },
}
SCSS
$custom: #8642ce;
$custom-light: #af7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8642ce",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 269.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.20611,
    "h": 302.1
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#8642CE
secondary
#B7D498
accent
#E24696
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8642CE

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

Preview Lab → · Contrast checker → · Palette generator →

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