#8640BD#8640BD

#8640BD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.190 H 306.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8640BD
RGBrgb(134, 64, 189)
HSLhsl(274, 49%, 50%)
HSVhsv(274, 66%, 74%)
CMYKcmyk(29.1%, 66.1%, 0%, 25.9%)
CIE-LABlab(41.86, 52.15, -53.95)
CIE-LCHlch(41.86, 75.04, 314.02°)
OKLaboklab(52.16% 0.1136 -0.1528)
OKLCHoklch(52.16% 0.19 306.6)
XYZxyz(20.8483, 12.4095, 49.4312)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640BD #77BD40
analogous
#4840BD #8640BD #BD40B6
triadic
#8640BD #BD8640 #40BD86
tetradic
#8640BD #BD4840 #77BD40 #40B6BD
square
#8640BD #BD4840 #77BD40 #40B6BD
split-complementary
#8640BD #B6BD40 #40BD48
monochromatic
#452162 #66318F #8640BD #A36DCD #C09ADD

Accessibility & contrast

On white

6.03
#8640BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8640BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640BD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640BD#FFFFFF#000000##FFFFFF
##8640BD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#7D5B79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8640bd;
/* rgb */ color: rgb(134, 64, 189);
/* oklch */ color: oklch(52.2% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#ad79d2',
    500: '#8640bd',
    950: '#000000',
  },
}
SCSS
$custom: #8640bd;
$custom-light: #ad79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8640bd",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 273.6,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.19045,
    "h": 306.6
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8640BD

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

Preview Lab → · Contrast checker → · Palette generator →

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