#8645D8#8645D8

#8645D8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.213 H 299.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8645D8
RGBrgb(134, 69, 216)
HSLhsl(267, 65%, 56%)
HSVhsv(267, 68%, 85%)
CMYKcmyk(38%, 68.1%, 0%, 15.3%)
CIE-LABlab(44.63, 56.21, -65.08)
CIE-LCHlch(44.63, 85.99, 310.81°)
OKLaboklab(54.75% 0.105 -0.1856)
OKLCHoklch(54.75% 0.213 299.5)
XYZxyz(24.3512, 14.2822, 66.4262)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645D8 #97D845
analogous
#454DD8 #8645D8 #D045D8
triadic
#8645D8 #D88645 #45D886
tetradic
#8645D8 #D8454D #97D845 #45D8D0
square
#8645D8 #D8454D #97D845 #45D8D0
split-complementary
#8645D8 #D8D045 #4DD845
monochromatic
#4B1C86 #6727B9 #8645D8 #A778E3 #C8AAED

Accessibility & contrast

On white

5.45
#8645D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8645D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645D8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645D8#FFFFFF#000000##FFFFFF
##8645D81.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#736889
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8645d8;
/* rgb */ color: rgb(134, 69, 216);
/* oklch */ color: oklch(54.7% 0.213 299.5);
Tailwind
colors: {
  custom: {
    50: '#af7de5',
    500: '#8645d8',
    950: '#000000',
  },
}
SCSS
$custom: #8645d8;
$custom-light: #af7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8645d8",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 266.531,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.21324,
    "h": 299.5
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#8645D8
secondary
#C0DB9E
accent
#E8409E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8645D8

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

Preview Lab → · Contrast checker → · Palette generator →

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