#8640CD#8640CD

#8640CD is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.208 H 302.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8640CD
RGBrgb(134, 64, 205)
HSLhsl(270, 59%, 53%)
HSVhsv(270, 69%, 80%)
CMYKcmyk(34.6%, 68.8%, 0%, 19.6%)
CIE-LABlab(42.98, 55.92, -61.45)
CIE-LCHlch(42.98, 83.08, 312.30°)
OKLaboklab(53.31% 0.1118 -0.1749)
OKLCHoklch(53.31% 0.208 302.6)
XYZxyz(22.6818, 13.1429, 59.0877)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640CD #87CD40
analogous
#4041CD #8640CD #CC40CD
triadic
#8640CD #CD8640 #40CD86
tetradic
#8640CD #CD4041 #87CD40 #40CDCC
square
#8640CD #CD4041 #87CD40 #40CDCC
split-complementary
#8640CD #CDCC40 #41CD40
monochromatic
#491E74 #672BA5 #8640CD #A571DA #C3A1E6

Accessibility & contrast

On white

5.79
#8640CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8640CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640CD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640CD#FFFFFF#000000##FFFFFF
##8640CD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#786182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8640cd;
/* rgb */ color: rgb(134, 64, 205);
/* oklch */ color: oklch(53.3% 0.208 302.6);
Tailwind
colors: {
  custom: {
    50: '#af7add',
    500: '#8640cd',
    950: '#000000',
  },
}
SCSS
$custom: #8640cd;
$custom-light: #af7add;
$custom-dark: #000000;
JSON
{
  "hex": "#8640cd",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 269.787,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.20752,
    "h": 302.6
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#8640CD
secondary
#B5D396
accent
#E24694
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8640CD

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

Preview Lab → · Contrast checker → · Palette generator →

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