#8640CF#8640CF

#8640CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.210 H 302.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8640CF
RGBrgb(134, 64, 207)
HSLhsl(269, 60%, 53%)
HSVhsv(269, 69%, 81%)
CMYKcmyk(35.3%, 69.1%, 0%, 18.8%)
CIE-LABlab(43.12, 56.40, -62.37)
CIE-LCHlch(43.12, 84.08, 312.12°)
OKLaboklab(53.46% 0.1115 -0.1776)
OKLCHoklch(53.46% 0.21 302.1)
XYZxyz(22.9247, 13.2401, 60.3672)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640CF #89CF40
analogous
#4041CF #8640CF #CE40CF
triadic
#8640CF #CF8640 #40CF86
tetradic
#8640CF #CF4041 #89CF40 #40CFCE
square
#8640CF #CF4041 #89CF40 #40CFCE
split-complementary
#8640CF #CFCE40 #41CF40
monochromatic
#491E77 #682AA8 #8640CF #A571DB #C4A2E8

Accessibility & contrast

On white

5.76
#8640CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8640CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640CF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640CF#FFFFFF#000000##FFFFFF
##8640CF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#776283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8640cf;
/* rgb */ color: rgb(134, 64, 207);
/* oklch */ color: oklch(53.5% 0.210 302.1);
Tailwind
colors: {
  custom: {
    50: '#af7adf',
    500: '#8640cf',
    950: '#000000',
  },
}
SCSS
$custom: #8640cf;
$custom-light: #af7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8640cf",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 269.371,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.20964,
    "h": 302.1
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#8640CF
secondary
#B6D497
accent
#E34596
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8640CF

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

Preview Lab → · Contrast checker → · Palette generator →

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