#8645D6#8645D6

#8645D6 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.211 H 299.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8645D6
RGBrgb(134, 69, 214)
HSLhsl(267, 64%, 55%)
HSVhsv(267, 68%, 84%)
CMYKcmyk(37.4%, 67.8%, 0%, 16.1%)
CIE-LABlab(44.49, 55.71, -64.17)
CIE-LCHlch(44.49, 84.98, 310.96°)
OKLaboklab(54.6% 0.1053 -0.1829)
OKLCHoklch(54.6% 0.211 299.9)
XYZxyz(24.0942, 14.1794, 65.0728)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645D6 #95D645
analogous
#454CD6 #8645D6 #CF45D6
triadic
#8645D6 #D68645 #45D686
tetradic
#8645D6 #D6454C #95D645 #45D6CF
square
#8645D6 #D6454C #95D645 #45D6CF
split-complementary
#8645D6 #D6CF45 #4CD645
monochromatic
#4B1D84 #6828B6 #8645D6 #A777E1 #C7A9EC

Accessibility & contrast

On white

5.47
#8645D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8645D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645D6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645D6#FFFFFF#000000##FFFFFF
##8645D61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#746788
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8645d6;
/* rgb */ color: rgb(134, 69, 214);
/* oklch */ color: oklch(54.6% 0.211 299.9);
Tailwind
colors: {
  custom: {
    50: '#af7de4',
    500: '#8645d6',
    950: '#000000',
  },
}
SCSS
$custom: #8645d6;
$custom-light: #af7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8645d6",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 266.897,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.21105,
    "h": 299.9
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#8645D6
secondary
#BFDA9D
accent
#E7419C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8645D6

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

Preview Lab → · Contrast checker → · Palette generator →

#8645D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva