#8640D2#8640D2

#8640D2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.213 H 301.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8640D2
RGBrgb(134, 64, 210)
HSLhsl(269, 62%, 54%)
HSVhsv(269, 70%, 82%)
CMYKcmyk(36.2%, 69.5%, 0%, 17.6%)
CIE-LABlab(43.34, 57.12, -63.74)
CIE-LCHlch(43.34, 85.59, 311.86°)
OKLaboklab(53.69% 0.111 -0.1816)
OKLCHoklch(53.69% 0.213 301.4)
XYZxyz(23.2950, 13.3881, 62.3172)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640D2 #8CD240
analogous
#4043D2 #8640D2 #CF40D2
triadic
#8640D2 #D28640 #40D286
tetradic
#8640D2 #D24043 #8CD240 #40D2CF
square
#8640D2 #D24043 #8CD240 #40D2CF
split-complementary
#8640D2 #D2CF40 #43D240
monochromatic
#4A1D7B #6829AC #8640D2 #A572DE #C5A3E9

Accessibility & contrast

On white

5.71
#8640D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8640D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640D2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640D2#FFFFFF#000000##FFFFFF
##8640D21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#766384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8640d2;
/* rgb */ color: rgb(134, 64, 210);
/* oklch */ color: oklch(53.7% 0.213 301.4);
Tailwind
colors: {
  custom: {
    50: '#af7ae1',
    500: '#8640d2',
    950: '#000000',
  },
}
SCSS
$custom: #8640d2;
$custom-light: #af7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8640d2",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 268.767,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.21282,
    "h": 301.4
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#8640D2
secondary
#B8D698
accent
#E54397
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8640D2

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

Preview Lab → · Contrast checker → · Palette generator →

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