#8B64CD#8B64CD

#8B64CD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.157 H 298.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8B64CD
RGBrgb(139, 100, 205)
HSLhsl(262, 51%, 60%)
HSVhsv(262, 51%, 80%)
CMYKcmyk(32.2%, 51.2%, 0%, 19.6%)
CIE-LABlab(50.70, 37.99, -49.00)
CIE-LCHlch(50.70, 62.00, 307.79°)
OKLaboklab(59.07% 0.0754 -0.1382)
OKLCHoklch(59.07% 0.157 298.6)
XYZxyz(26.2214, 19.0108, 60.0338)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64CD #A6CD64
analogous
#6471CD #8B64CD #C064CD
triadic
#8B64CD #CD8B64 #64CD8B
tetradic
#8B64CD #CD6471 #A6CD64 #64CDC0
square
#8B64CD #CD6471 #A6CD64 #64CDC0
split-complementary
#8B64CD #CDC064 #71CD64
monochromatic
#4F2D8A #6A3BB8 #8B64CD #AE92DC #D0C1EB

Accessibility & contrast

On white

4.37
#8B64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8B64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64CD#FFFFFF#000000##000000
##8B64CD1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#7D788F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b64cd;
/* rgb */ color: rgb(139, 100, 205);
/* oklch */ color: oklch(59.1% 0.157 298.6);
Tailwind
colors: {
  custom: {
    50: '#b091dd',
    500: '#8b64cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b64cd;
$custom-light: #b091dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64cd",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 262.286,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.15748,
    "h": 298.6
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#8B64CD
secondary
#CCDBB2
accent
#DB4DA6
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8B64CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8B64CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva