#8645D7#8645D7

#8645D7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.212 H 299.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8645D7
RGBrgb(134, 69, 215)
HSLhsl(267, 65%, 56%)
HSVhsv(267, 68%, 84%)
CMYKcmyk(37.7%, 67.9%, 0%, 15.7%)
CIE-LABlab(44.56, 55.96, -64.63)
CIE-LCHlch(44.56, 85.49, 310.89°)
OKLaboklab(54.67% 0.1052 -0.1842)
OKLCHoklch(54.67% 0.212 299.7)
XYZxyz(24.2223, 14.2306, 65.7474)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645D7 #96D745
analogous
#454DD7 #8645D7 #CF45D7
triadic
#8645D7 #D78645 #45D786
tetradic
#8645D7 #D7454D #96D745 #45D7CF
square
#8645D7 #D7454D #96D745 #45D7CF
split-complementary
#8645D7 #D7CF45 #4DD745
monochromatic
#4B1D85 #6827B7 #8645D7 #A777E2 #C8AAED

Accessibility & contrast

On white

5.46
#8645D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8645D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645D7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645D7#FFFFFF#000000##FFFFFF
##8645D71.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#746789
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8645d7;
/* rgb */ color: rgb(134, 69, 215);
/* oklch */ color: oklch(54.7% 0.212 299.7);
Tailwind
colors: {
  custom: {
    50: '#af7de4',
    500: '#8645d7',
    950: '#000000',
  },
}
SCSS
$custom: #8645d7;
$custom-light: #af7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8645d7",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 266.712,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.21214,
    "h": 299.7
  },
  "luminance": 0.14231
}

Semantic roles & 50–950 ramp

primary
#8645D7
secondary
#BFDA9E
accent
#E8409D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8645D7

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

Preview Lab → · Contrast checker → · Palette generator →

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