#8640BC#8640BC

#8640BC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.189 H 306.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8640BC
RGBrgb(134, 64, 188)
HSLhsl(274, 49%, 49%)
HSVhsv(274, 66%, 74%)
CMYKcmyk(28.7%, 66%, 0%, 26.3%)
CIE-LABlab(41.79, 51.91, -53.48)
CIE-LCHlch(41.79, 74.53, 314.15°)
OKLaboklab(52.09% 0.1137 -0.1514)
OKLCHoklch(52.09% 0.189 306.9)
XYZxyz(20.7401, 12.3662, 48.8615)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640BC #76BC40
analogous
#4840BC #8640BC #BC40B4
triadic
#8640BC #BC8640 #40BC86
tetradic
#8640BC #BC4840 #76BC40 #40B4BC
square
#8640BC #BC4840 #76BC40 #40B4BC
split-complementary
#8640BC #B4BC40 #40BC48
monochromatic
#452161 #65308E #8640BC #A36CCD #C09ADD

Accessibility & contrast

On white

6.05
#8640BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8640BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640BC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640BC#FFFFFF#000000##FFFFFF
##8640BC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#7D5A78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8640bc;
/* rgb */ color: rgb(134, 64, 188);
/* oklch */ color: oklch(52.1% 0.189 306.9);
Tailwind
colors: {
  custom: {
    50: '#ad79d1',
    500: '#8640bc',
    950: '#000000',
  },
}
SCSS
$custom: #8640bc;
$custom-light: #ad79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8640bc",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 273.871,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52087,
    "c": 0.18937,
    "h": 306.9
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#8640BC
secondary
#A8C98F
accent
#D94F8B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8640BC

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

Preview Lab → · Contrast checker → · Palette generator →

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