#8642CC#8642CC

#8642CC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.204 H 302.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8642CC
RGBrgb(134, 66, 204)
HSLhsl(270, 58%, 53%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(34.3%, 67.6%, 0%, 20%)
CIE-LABlab(43.25, 54.73, -60.43)
CIE-LCHlch(43.25, 81.53, 312.17°)
OKLaboklab(53.48% 0.1098 -0.1719)
OKLCHoklch(53.48% 0.204 302.6)
XYZxyz(22.6763, 13.3244, 58.4922)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642CC #88CC42
analogous
#4243CC #8642CC #CB42CC
triadic
#8642CC #CC8642 #42CC86
tetradic
#8642CC #CC4243 #88CC42 #42CCCB
square
#8642CC #CC4243 #88CC42 #42CCCB
split-complementary
#8642CC #CCCB42 #43CC42
monochromatic
#491F74 #682CA4 #8642CC #A572D9 #C4A2E6

Accessibility & contrast

On white

5.73
#8642CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8642CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642CC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642CC#FFFFFF#000000##FFFFFF
##8642CC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#786282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8642cc;
/* rgb */ color: rgb(134, 66, 204);
/* oklch */ color: oklch(53.5% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#ae7bdc',
    500: '#8642cc',
    950: '#000000',
  },
}
SCSS
$custom: #8642cc;
$custom-light: #ae7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8642cc",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 269.565,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.20396,
    "h": 302.6
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#8642CC
secondary
#B5D397
accent
#E14795
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8642CC

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

Preview Lab → · Contrast checker → · Palette generator →

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