#8645D2#8645D2

#8645D2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.207 H 300.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8645D2
RGBrgb(134, 69, 210)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 67%, 82%)
CMYKcmyk(36.2%, 67.1%, 0%, 17.6%)
CIE-LABlab(44.20, 54.73, -62.35)
CIE-LCHlch(44.20, 82.96, 311.28°)
OKLaboklab(54.3% 0.1059 -0.1775)
OKLCHoklch(54.3% 0.207 300.8)
XYZxyz(23.5897, 13.9776, 62.4154)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645D2 #91D245
analogous
#454AD2 #8645D2 #CD45D2
triadic
#8645D2 #D28645 #45D286
tetradic
#8645D2 #D2454A #91D245 #45D2CD
square
#8645D2 #D2454A #91D245 #45D2CD
split-complementary
#8645D2 #D2CD45 #4AD245
monochromatic
#4B1F7E #682AAF #8645D2 #A676DE #C6A8EA

Accessibility & contrast

On white

5.53
#8645D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8645D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645D2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645D2#FFFFFF#000000##FFFFFF
##8645D21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#766686
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8645d2;
/* rgb */ color: rgb(134, 69, 210);
/* oklch */ color: oklch(54.3% 0.207 300.8);
Tailwind
colors: {
  custom: {
    50: '#af7de1',
    500: '#8645d2',
    950: '#000000',
  },
}
SCSS
$custom: #8645d2;
$custom-light: #af7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8645d2",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 267.66,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.543,
    "c": 0.20669,
    "h": 300.8
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#8645D2
secondary
#BCD79C
accent
#E4449A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8645D2

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

Preview Lab → · Contrast checker → · Palette generator →

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