#8645BF#8645BF

#8645BF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.186 H 305.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8645BF
RGBrgb(134, 69, 191)
HSLhsl(272, 49%, 51%)
HSVhsv(272, 64%, 75%)
CMYKcmyk(29.8%, 63.9%, 0%, 25.1%)
CIE-LABlab(42.89, 50.15, -53.46)
CIE-LCHlch(42.89, 73.30, 313.17°)
OKLaboklab(52.94% 0.1077 -0.1514)
OKLCHoklch(52.94% 0.186 305.4)
XYZxyz(21.3616, 13.0863, 50.6807)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645BF #7EBF45
analogous
#4945BF #8645BF #BF45BB
triadic
#8645BF #BF8645 #45BF86
tetradic
#8645BF #BF4945 #7EBF45 #45BBBF
square
#8645BF #BF4945 #7EBF45 #45BBBF
split-complementary
#8645BF #BBBF45 #45BF49
monochromatic
#472366 #673394 #8645BF #A473CF #C1A0DE

Accessibility & contrast

On white

5.81
#8645BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8645BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645BF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645BF#FFFFFF#000000##FFFFFF
##8645BF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2765BC
Tritanopia (blue-blind)
#7C5F7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8645bf;
/* rgb */ color: rgb(134, 69, 191);
/* oklch */ color: oklch(52.9% 0.186 305.4);
Tailwind
colors: {
  custom: {
    50: '#ad7cd3',
    500: '#8645bf',
    950: '#000000',
  },
}
SCSS
$custom: #8645bf;
$custom-light: #ad7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8645bf",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 271.967,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.1858,
    "h": 305.4
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#8645BF
secondary
#AECB95
accent
#D84F8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8645BF

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

Preview Lab → · Contrast checker → · Palette generator →

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