#8640C8#8640C8

#8640C8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.202 H 303.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8640C8
RGBrgb(134, 64, 200)
HSLhsl(271, 55%, 52%)
HSVhsv(271, 68%, 78%)
CMYKcmyk(33%, 68%, 0%, 21.6%)
CIE-LABlab(42.62, 54.73, -59.13)
CIE-LCHlch(42.62, 80.57, 312.79°)
OKLaboklab(52.94% 0.1124 -0.168)
OKLCHoklch(52.94% 0.202 303.8)
XYZxyz(22.0879, 12.9053, 55.9597)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640C8 #82C840
analogous
#4240C8 #8640C8 #C840C6
triadic
#8640C8 #C88640 #40C886
tetradic
#8640C8 #C84240 #82C840 #40C6C8
square
#8640C8 #C84240 #82C840 #40C6C8
split-complementary
#8640C8 #C6C840 #40C842
monochromatic
#48206E #672D9D #8640C8 #A470D6 #C29FE3

Accessibility & contrast

On white

5.86
#8640C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8640C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640C8#FFFFFF#000000##FFFFFF
##8640C81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#795F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8640c8;
/* rgb */ color: rgb(134, 64, 200);
/* oklch */ color: oklch(52.9% 0.202 303.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ada',
    500: '#8640c8',
    950: '#000000',
  },
}
SCSS
$custom: #8640c8;
$custom-light: #ae7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8640c8",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 270.882,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.20219,
    "h": 303.8
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#8640C8
secondary
#B1D094
accent
#DF4992
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8640C8

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

Preview Lab → · Contrast checker → · Palette generator →

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