#8642CA#8642CA

#8642CA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.202 H 303.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8642CA
RGBrgb(134, 66, 202)
HSLhsl(270, 56%, 53%)
HSVhsv(270, 67%, 79%)
CMYKcmyk(33.7%, 67.3%, 0%, 20.8%)
CIE-LABlab(43.11, 54.25, -59.50)
CIE-LCHlch(43.11, 80.52, 312.36°)
OKLaboklab(53.34% 0.1101 -0.1691)
OKLCHoklch(53.34% 0.202 303)
XYZxyz(22.4379, 13.2290, 57.2370)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642CA #86CA42
analogous
#4242CA #8642CA #CA42CA
triadic
#8642CA #CA8642 #42CA86
tetradic
#8642CA #CA4242 #86CA42 #42CACA
square
#8642CA #CA4242 #86CA42 #42CACA
split-complementary
#8642CA #CACA42 #42CA42
monochromatic
#492072 #672DA2 #8642CA #A572D7 #C3A2E5

Accessibility & contrast

On white

5.76
#8642CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8642CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642CA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642CA#FFFFFF#000000##FFFFFF
##8642CA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#796181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8642ca;
/* rgb */ color: rgb(134, 66, 202);
/* oklch */ color: oklch(53.3% 0.202 303.0);
Tailwind
colors: {
  custom: {
    50: '#ae7bdb',
    500: '#8642ca',
    950: '#000000',
  },
}
SCSS
$custom: #8642ca;
$custom-light: #ae7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8642ca",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.2018,
    "h": 303
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#8642CA
secondary
#B4D196
accent
#DF4894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8642CA

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

Preview Lab → · Contrast checker → · Palette generator →

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