#8640BE#8640BE

#8640BE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.192 H 306.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8640BE
RGBrgb(134, 64, 190)
HSLhsl(273, 50%, 50%)
HSVhsv(273, 66%, 75%)
CMYKcmyk(29.5%, 66.3%, 0%, 25.5%)
CIE-LABlab(41.93, 52.38, -54.43)
CIE-LCHlch(41.93, 75.54, 313.90°)
OKLaboklab(52.23% 0.1135 -0.1542)
OKLCHoklch(52.23% 0.192 306.4)
XYZxyz(20.9572, 12.4530, 50.0048)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640BE #78BE40
analogous
#4740BE #8640BE #BE40B7
triadic
#8640BE #BE8640 #40BE86
tetradic
#8640BE #BE4740 #78BE40 #40B7BE
square
#8640BE #BE4740 #78BE40 #40B7BE
split-complementary
#8640BE #B7BE40 #40BE47
monochromatic
#452162 #663190 #8640BE #A36DCE #C09BDD

Accessibility & contrast

On white

6.02
#8640BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8640BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640BE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640BE#FFFFFF#000000##FFFFFF
##8640BE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2063BB
Tritanopia (blue-blind)
#7D5B7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8640be;
/* rgb */ color: rgb(134, 64, 190);
/* oklch */ color: oklch(52.2% 0.192 306.4);
Tailwind
colors: {
  custom: {
    50: '#ad7ad2',
    500: '#8640be',
    950: '#000000',
  },
}
SCSS
$custom: #8640be;
$custom-light: #ad7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8640be",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 273.333,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.19152,
    "h": 306.4
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#8640BE
secondary
#AAC990
accent
#D94F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8640BE

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

Preview Lab → · Contrast checker → · Palette generator →

#8640BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva