#8640BB#8640BB

#8640BB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.188 H 307.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8640BB
RGBrgb(134, 64, 187)
HSLhsl(274, 49%, 49%)
HSVhsv(274, 66%, 73%)
CMYKcmyk(28.3%, 65.8%, 0%, 26.7%)
CIE-LABlab(41.73, 51.68, -53.00)
CIE-LCHlch(41.73, 74.03, 314.28°)
OKLaboklab(52.02% 0.1138 -0.15)
OKLCHoklch(52.02% 0.188 307.2)
XYZxyz(20.6327, 12.3232, 48.2958)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640BB #75BB40
analogous
#4840BB #8640BB #BB40B3
triadic
#8640BB #BB8640 #40BB86
tetradic
#8640BB #BB4840 #75BB40 #40B3BB
square
#8640BB #BB4840 #75BB40 #40B3BB
split-complementary
#8640BB #B3BB40 #40BB48
monochromatic
#452160 #65308D #8640BB #A36CCD #BF99DC

Accessibility & contrast

On white

6.06
#8640BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8640BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640BB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640BB#FFFFFF#000000##FFFFFF
##8640BB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#7D5A78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8640bb;
/* rgb */ color: rgb(134, 64, 187);
/* oklch */ color: oklch(52.0% 0.188 307.2);
Tailwind
colors: {
  custom: {
    50: '#ad79d0',
    500: '#8640bb',
    950: '#000000',
  },
}
SCSS
$custom: #8640bb;
$custom-light: #ad79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8640bb",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 274.146,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.18831,
    "h": 307.2
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#8640BB
secondary
#A7C88F
accent
#D94F8A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8640BB

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

Preview Lab → · Contrast checker → · Palette generator →

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