#8640C9#8640C9

#8640C9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.203 H 303.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8640C9
RGBrgb(134, 64, 201)
HSLhsl(271, 56%, 52%)
HSVhsv(271, 68%, 79%)
CMYKcmyk(33.3%, 68.2%, 0%, 21.2%)
CIE-LABlab(42.69, 54.97, -59.60)
CIE-LCHlch(42.69, 81.08, 312.69°)
OKLaboklab(53.02% 0.1123 -0.1694)
OKLCHoklch(53.02% 0.203 303.5)
XYZxyz(22.2051, 12.9522, 56.5772)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640C9 #83C940
analogous
#4240C9 #8640C9 #C940C7
triadic
#8640C9 #C98640 #40C986
tetradic
#8640C9 #C94240 #83C940 #40C7C9
square
#8640C9 #C94240 #83C940 #40C7C9
split-complementary
#8640C9 #C7C940 #40C942
monochromatic
#481F6F #672D9F #8640C9 #A470D6 #C29FE4

Accessibility & contrast

On white

5.85
#8640C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8640C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640C9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640C9#FFFFFF#000000##FFFFFF
##8640C91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#795F80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8640c9;
/* rgb */ color: rgb(134, 64, 201);
/* oklch */ color: oklch(53.0% 0.203 303.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ada',
    500: '#8640c9',
    950: '#000000',
  },
}
SCSS
$custom: #8640c9;
$custom-light: #ae7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8640c9",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 270.657,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.20326,
    "h": 303.5
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8640C9

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

Preview Lab → · Contrast checker → · Palette generator →

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