#8640CA#8640CA

#8640CA is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.204 H 303.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8640CA
RGBrgb(134, 64, 202)
HSLhsl(270, 57%, 52%)
HSVhsv(270, 68%, 79%)
CMYKcmyk(33.7%, 68.3%, 0%, 20.8%)
CIE-LABlab(42.76, 55.20, -60.06)
CIE-LCHlch(42.76, 81.58, 312.59°)
OKLaboklab(53.09% 0.1122 -0.1708)
OKLCHoklch(53.09% 0.204 303.3)
XYZxyz(22.3231, 12.9994, 57.1988)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640CA #84CA40
analogous
#4140CA #8640CA #CA40C9
triadic
#8640CA #CA8640 #40CA86
tetradic
#8640CA #CA4140 #84CA40 #40C9CA
square
#8640CA #CA4140 #84CA40 #40C9CA
split-complementary
#8640CA #C9CA40 #40CA41
monochromatic
#481F70 #672CA0 #8640CA #A470D7 #C3A0E5

Accessibility & contrast

On white

5.83
#8640CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8640CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640CA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640CA#FFFFFF#000000##FFFFFF
##8640CA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#796080
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8640ca;
/* rgb */ color: rgb(134, 64, 202);
/* oklch */ color: oklch(53.1% 0.204 303.3);
Tailwind
colors: {
  custom: {
    50: '#ae7adb',
    500: '#8640ca',
    950: '#000000',
  },
}
SCSS
$custom: #8640ca;
$custom-light: #ae7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8640ca",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 270.435,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.20432,
    "h": 303.3
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#8640CA
secondary
#B2D195
accent
#E04893
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8640CA

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

Preview Lab → · Contrast checker → · Palette generator →

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