#8642C8#8642C8

#8642C8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.2% C 0.200 H 303.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8642C8
RGBrgb(134, 66, 200)
HSLhsl(270, 55%, 52%)
HSVhsv(270, 67%, 78%)
CMYKcmyk(33%, 67%, 0%, 21.6%)
CIE-LABlab(42.97, 53.77, -58.57)
CIE-LCHlch(42.97, 79.51, 312.55°)
OKLaboklab(53.19% 0.1103 -0.1664)
OKLCHoklch(53.19% 0.2 303.5)
XYZxyz(22.2027, 13.1349, 55.9980)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642C8 #84C842
analogous
#4342C8 #8642C8 #C842C7
triadic
#8642C8 #C88642 #42C886
tetradic
#8642C8 #C84342 #84C842 #42C7C8
square
#8642C8 #C84342 #84C842 #42C7C8
split-complementary
#8642C8 #C7C842 #42C843
monochromatic
#48206F #672E9F #8642C8 #A471D6 #C3A1E4

Accessibility & contrast

On white

5.79
#8642C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8642C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642C8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642C8#FFFFFF#000000##FFFFFF
##8642C81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0965C5
Tritanopia (blue-blind)
#796080
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8642c8;
/* rgb */ color: rgb(134, 66, 200);
/* oklch */ color: oklch(53.2% 0.200 303.5);
Tailwind
colors: {
  custom: {
    50: '#ae7bd9',
    500: '#8642c8',
    950: '#000000',
  },
}
SCSS
$custom: #8642c8;
$custom-light: #ae7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8642c8",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 270.448,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.19964,
    "h": 303.5
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#8642C8
secondary
#B2D096
accent
#DE4A93
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8642C8

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

Preview Lab → · Contrast checker → · Palette generator →

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