#8640CE#8640CE

#8640CE is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.209 H 302.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8640CE
RGBrgb(134, 64, 206)
HSLhsl(270, 59%, 53%)
HSVhsv(270, 69%, 81%)
CMYKcmyk(35%, 68.9%, 0%, 19.2%)
CIE-LABlab(43.05, 56.16, -61.91)
CIE-LCHlch(43.05, 83.58, 312.21°)
OKLaboklab(53.39% 0.1116 -0.1762)
OKLCHoklch(53.39% 0.209 302.3)
XYZxyz(22.8029, 13.1913, 59.7254)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640CE #88CE40
analogous
#4041CE #8640CE #CD40CE
triadic
#8640CE #CE8640 #40CE86
tetradic
#8640CE #CE4041 #88CE40 #40CECD
square
#8640CE #CE4041 #88CE40 #40CECD
split-complementary
#8640CE #CECD40 #41CE40
monochromatic
#491E75 #682BA6 #8640CE #A571DA #C4A1E7

Accessibility & contrast

On white

5.77
#8640CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8640CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640CE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640CE#FFFFFF#000000##FFFFFF
##8640CE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#776182
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8640ce;
/* rgb */ color: rgb(134, 64, 206);
/* oklch */ color: oklch(53.4% 0.209 302.3);
Tailwind
colors: {
  custom: {
    50: '#af7ade',
    500: '#8640ce',
    950: '#000000',
  },
}
SCSS
$custom: #8640ce;
$custom-light: #af7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8640ce",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 269.577,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.20858,
    "h": 302.3
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#8640CE
secondary
#B5D496
accent
#E24595
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8640CE

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

Preview Lab → · Contrast checker → · Palette generator →

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