#8B64F5#8B64F5

#8B64F5 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.7% C 0.207 H 291.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8B64F5
RGBrgb(139, 100, 245)
HSLhsl(256, 88%, 68%)
HSVhsv(256, 59%, 96%)
CMYKcmyk(43.3%, 59.2%, 0%, 3.9%)
CIE-LABlab(53.16, 48.56, -67.61)
CIE-LCHlch(53.16, 83.24, 305.69°)
OKLaboklab(61.68% 0.0761 -0.1929)
OKLCHoklch(61.68% 0.207 291.5)
XYZxyz(31.6815, 21.1949, 88.7903)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64F5 #CEF564
analogous
#6485F5 #8B64F5 #D464F5
triadic
#8B64F5 #F58B64 #64F58B
tetradic
#8B64F5 #F56485 #CEF564 #64F5D4
square
#8B64F5 #F56485 #CEF564 #64F5D4
split-complementary
#8B64F5 #F5D464 #85F564
monochromatic
#420DD1 #602BF1 #8B64F5 #B69DF9 #E1D7FC

Accessibility & contrast

On white

4.01
#8B64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8B64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64F5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64F5#FFFFFF#000000##000000
##8B64F51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#6C85A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b64f5;
/* rgb */ color: rgb(139, 100, 245);
/* oklch */ color: oklch(61.7% 0.207 291.5);
Tailwind
colors: {
  custom: {
    50: '#b392f9',
    500: '#8b64f5',
    950: '#000000',
  },
}
SCSS
$custom: #8b64f5;
$custom-light: #b392f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64f5",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 256.138,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.20735,
    "h": 291.5
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#8B64F5
secondary
#E5F1C4
accent
#E401A7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8B64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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