#8645DB#8645DB

#8645DB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.216 H 298.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8645DB
RGBrgb(134, 69, 219)
HSLhsl(266, 68%, 56%)
HSVhsv(266, 68%, 86%)
CMYKcmyk(38.8%, 68.5%, 0%, 14.1%)
CIE-LABlab(44.86, 56.95, -66.44)
CIE-LCHlch(44.86, 87.50, 310.60°)
OKLaboklab(54.97% 0.1046 -0.1895)
OKLCHoklch(54.97% 0.216 298.9)
XYZxyz(24.7426, 14.4387, 68.4875)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645DB #9ADB45
analogous
#454FDB #8645DB #D145DB
triadic
#8645DB #DB8645 #45DB86
tetradic
#8645DB #DB454F #9ADB45 #45DBD1
square
#8645DB #DB454F #9ADB45 #45DBD1
split-complementary
#8645DB #DBD145 #4FDB45
monochromatic
#4B1B8B #6725BE #8645DB #A778E5 #C9ACEF

Accessibility & contrast

On white

5.40
#8645DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8645DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645DB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645DB#FFFFFF#000000##FFFFFF
##8645DB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#72698B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8645db;
/* rgb */ color: rgb(134, 69, 219);
/* oklch */ color: oklch(55.0% 0.216 298.9);
Tailwind
colors: {
  custom: {
    50: '#b07de7',
    500: '#8645db',
    950: '#000000',
  },
}
SCSS
$custom: #8645db;
$custom-light: #b07de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8645db",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 266,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.21649,
    "h": 298.9
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#8645DB
secondary
#C2DD9F
accent
#EA3D9F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8645DB

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

Preview Lab → · Contrast checker → · Palette generator →

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