#8642D3#8642D3

#8642D3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.211 H 301.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8642D3
RGBrgb(134, 66, 211)
HSLhsl(268, 62%, 54%)
HSVhsv(268, 69%, 83%)
CMYKcmyk(36.5%, 68.7%, 0%, 17.3%)
CIE-LABlab(43.75, 56.42, -63.65)
CIE-LCHlch(43.75, 85.05, 311.55°)
OKLaboklab(54% 0.1088 -0.1813)
OKLCHoklch(54% 0.211 301)
XYZxyz(23.5347, 13.6678, 63.0136)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642D3 #8FD342
analogous
#4247D3 #8642D3 #CF42D3
triadic
#8642D3 #D38642 #42D386
tetradic
#8642D3 #D34247 #8FD342 #42D3CF
square
#8642D3 #D34247 #8FD342 #42D3CF
split-complementary
#8642D3 #D3CF42 #47D342
monochromatic
#4A1D7D #6829AF #8642D3 #A674DF #C6A5EA

Accessibility & contrast

On white

5.62
#8642D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8642D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642D3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642D3#FFFFFF#000000##FFFFFF
##8642D31.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#756486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8642d3;
/* rgb */ color: rgb(134, 66, 211);
/* oklch */ color: oklch(54.0% 0.211 301.0);
Tailwind
colors: {
  custom: {
    50: '#af7be1',
    500: '#8642d3',
    950: '#000000',
  },
}
SCSS
$custom: #8642d3;
$custom-light: #af7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8642d3",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 268.138,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.21148,
    "h": 301
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#8642D3
secondary
#BAD79A
accent
#E54299
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8642D3

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

Preview Lab → · Contrast checker → · Palette generator →

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