#8645D9#8645D9

#8645D9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.214 H 299.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8645D9
RGBrgb(134, 69, 217)
HSLhsl(266, 66%, 56%)
HSVhsv(266, 68%, 85%)
CMYKcmyk(38.2%, 68.2%, 0%, 14.9%)
CIE-LABlab(44.71, 56.45, -65.54)
CIE-LCHlch(44.71, 86.50, 310.74°)
OKLaboklab(54.82% 0.1049 -0.1869)
OKLCHoklch(54.82% 0.214 299.3)
XYZxyz(24.4809, 14.3340, 67.1092)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645D9 #98D945
analogous
#454ED9 #8645D9 #D045D9
triadic
#8645D9 #D98645 #45D986
tetradic
#8645D9 #D9454E #98D945 #45D9D0
square
#8645D9 #D9454E #98D945 #45D9D0
split-complementary
#8645D9 #D9D045 #4ED945
monochromatic
#4B1C88 #6726BB #8645D9 #A778E3 #C8ABEE

Accessibility & contrast

On white

5.43
#8645D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8645D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645D9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645D9#FFFFFF#000000##FFFFFF
##8645D91.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#73688A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8645d9;
/* rgb */ color: rgb(134, 69, 217);
/* oklch */ color: oklch(54.8% 0.214 299.3);
Tailwind
colors: {
  custom: {
    50: '#af7de6',
    500: '#8645d9',
    950: '#000000',
  },
}
SCSS
$custom: #8645d9;
$custom-light: #af7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8645d9",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 266.351,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.21432,
    "h": 299.3
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#8645D9
secondary
#C1DB9E
accent
#E93F9E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8645D9

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

Preview Lab → · Contrast checker → · Palette generator →

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