#8640D3#8640D3

#8640D3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.214 H 301.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8640D3
RGBrgb(134, 64, 211)
HSLhsl(269, 63%, 54%)
HSVhsv(269, 70%, 83%)
CMYKcmyk(36.5%, 69.7%, 0%, 17.3%)
CIE-LABlab(43.42, 57.36, -64.19)
CIE-LCHlch(43.42, 86.09, 311.78°)
OKLaboklab(53.76% 0.1108 -0.1829)
OKLCHoklch(53.76% 0.214 301.2)
XYZxyz(23.4199, 13.4381, 62.9754)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640D3 #8DD340
analogous
#4044D3 #8640D3 #CF40D3
triadic
#8640D3 #D38640 #40D386
tetradic
#8640D3 #D34044 #8DD340 #40D3CF
square
#8640D3 #D34044 #8DD340 #40D3CF
split-complementary
#8640D3 #D3CF40 #44D340
monochromatic
#4A1D7C #6828AE #8640D3 #A672DE #C5A3EA

Accessibility & contrast

On white

5.69
#8640D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8640D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640D3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640D3#FFFFFF#000000##FFFFFF
##8640D31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#756385
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8640d3;
/* rgb */ color: rgb(134, 64, 211);
/* oklch */ color: oklch(53.8% 0.214 301.2);
Tailwind
colors: {
  custom: {
    50: '#af7ae1',
    500: '#8640d3',
    950: '#000000',
  },
}
SCSS
$custom: #8640d3;
$custom-light: #af7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8640d3",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 268.571,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.21388,
    "h": 301.2
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#8640D3
secondary
#B9D798
accent
#E64298
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8640D3

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

Preview Lab → · Contrast checker → · Palette generator →

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