#8A64F3#8A64F3

#8A64F3 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.4% C 0.205 H 291.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A64F3
RGBrgb(138, 100, 243)
HSLhsl(256, 86%, 67%)
HSVhsv(256, 59%, 95%)
CMYKcmyk(43.2%, 58.8%, 0%, 4.7%)
CIE-LABlab(52.94, 47.82, -66.86)
CIE-LCHlch(52.94, 82.20, 305.57°)
OKLaboklab(61.45% 0.0749 -0.1907)
OKLCHoklch(61.45% 0.205 291.4)
XYZxyz(31.2116, 20.9877, 87.1832)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64F3 #CDF364
analogous
#6486F3 #8A64F3 #D264F3
triadic
#8A64F3 #F38A64 #64F38A
tetradic
#8A64F3 #F36486 #CDF364 #64F3D2
square
#8A64F3 #F36486 #CDF364 #64F3D2
split-complementary
#8A64F3 #F3D264 #86F364
monochromatic
#4210CD #5F2BEF #8A64F3 #B59DF7 #E0D6FC

Accessibility & contrast

On white

4.04
#8A64F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A64F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64F3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64F3#FFFFFF#000000##000000
##8A64F31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#6C84A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a64f3;
/* rgb */ color: rgb(138, 100, 243);
/* oklch */ color: oklch(61.4% 0.205 291.4);
Tailwind
colors: {
  custom: {
    50: '#b391f8',
    500: '#8a64f3',
    950: '#000000',
  },
}
SCSS
$custom: #8a64f3;
$custom-light: #b391f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64f3",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 243
  },
  "hsl": {
    "h": 255.944,
    "s": 85.629,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.2049,
    "h": 291.4
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#8A64F3
secondary
#E4F0C3
accent
#E203A7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A64F3

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

Preview Lab → · Contrast checker → · Palette generator →

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