#8640CB#8640CB

#8640CB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.205 H 303.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8640CB
RGBrgb(134, 64, 203)
HSLhsl(270, 57%, 52%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(34%, 68.5%, 0%, 20.4%)
CIE-LABlab(42.83, 55.44, -60.52)
CIE-LCHlch(42.83, 82.08, 312.49°)
OKLaboklab(53.16% 0.112 -0.1721)
OKLCHoklch(53.16% 0.205 303.1)
XYZxyz(22.4419, 13.0469, 57.8243)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640CB #85CB40
analogous
#4140CB #8640CB #CB40CB
triadic
#8640CB #CB8640 #40CB86
tetradic
#8640CB #CB4140 #85CB40 #40CBCB
square
#8640CB #CB4140 #85CB40 #40CBCB
split-complementary
#8640CB #CBCB40 #40CB41
monochromatic
#491F72 #672CA2 #8640CB #A470D8 #C3A0E5

Accessibility & contrast

On white

5.82
#8640CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8640CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640CB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640CB#FFFFFF#000000##FFFFFF
##8640CB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#786081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8640cb;
/* rgb */ color: rgb(134, 64, 203);
/* oklch */ color: oklch(53.2% 0.205 303.1);
Tailwind
colors: {
  custom: {
    50: '#ae7adc',
    500: '#8640cb',
    950: '#000000',
  },
}
SCSS
$custom: #8640cb;
$custom-light: #ae7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8640cb",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 270.216,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.20538,
    "h": 303.1
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#8640CB
secondary
#B3D295
accent
#E04793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8640CB

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

Preview Lab → · Contrast checker → · Palette generator →

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