#8A64F1#8A64F1

#8A64F1 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.3% C 0.202 H 291.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A64F1
RGBrgb(138, 100, 241)
HSLhsl(256, 83%, 67%)
HSVhsv(256, 59%, 95%)
CMYKcmyk(42.7%, 58.5%, 0%, 5.5%)
CIE-LABlab(52.80, 47.28, -65.96)
CIE-LCHlch(52.80, 81.15, 305.63°)
OKLaboklab(61.31% 0.075 -0.1881)
OKLCHoklch(61.31% 0.202 291.7)
XYZxyz(30.9112, 20.8675, 85.6012)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64F1 #CBF164
analogous
#6485F1 #8A64F1 #D064F1
triadic
#8A64F1 #F18A64 #64F18A
tetradic
#8A64F1 #F16485 #CBF164 #64F1D0
square
#8A64F1 #F16485 #CBF164 #64F1D0
split-complementary
#8A64F1 #F1D064 #85F164
monochromatic
#4312C8 #602CEC #8A64F1 #B49CF6 #DFD4FB

Accessibility & contrast

On white

4.06
#8A64F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8A64F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64F1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64F1#FFFFFF#000000##000000
##8A64F11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#087BEE
Tritanopia (blue-blind)
#6D83A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a64f1;
/* rgb */ color: rgb(138, 100, 241);
/* oklch */ color: oklch(61.3% 0.202 291.7);
Tailwind
colors: {
  custom: {
    50: '#b291f6',
    500: '#8a64f1',
    950: '#000000',
  },
}
SCSS
$custom: #8a64f1;
$custom-light: #b291f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64f1",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 241
  },
  "hsl": {
    "h": 256.17,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.20245,
    "h": 291.7
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#8A64F1
secondary
#E3EFC2
accent
#E006A5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A64F1

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

Preview Lab → · Contrast checker → · Palette generator →

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