#8A64F2#8A64F2

#8A64F2 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.4% C 0.204 H 291.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A64F2
RGBrgb(138, 100, 242)
HSLhsl(256, 85%, 67%)
HSVhsv(256, 59%, 95%)
CMYKcmyk(43%, 58.7%, 0%, 5.1%)
CIE-LABlab(52.87, 47.55, -66.41)
CIE-LCHlch(52.87, 81.68, 305.60°)
OKLaboklab(61.38% 0.0749 -0.1894)
OKLCHoklch(61.38% 0.204 291.6)
XYZxyz(31.0610, 20.9274, 86.3900)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64F2 #CCF264
analogous
#6485F2 #8A64F2 #D164F2
triadic
#8A64F2 #F28A64 #64F28A
tetradic
#8A64F2 #F26485 #CCF264 #64F2D1
square
#8A64F2 #F26485 #CCF264 #64F2D1
split-complementary
#8A64F2 #F2D164 #85F264
monochromatic
#4311CB #5F2CED #8A64F2 #B59CF7 #DFD5FB

Accessibility & contrast

On white

4.05
#8A64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64F2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64F2#FFFFFF#000000##000000
##8A64F21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#027BEF
Tritanopia (blue-blind)
#6C84A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a64f2;
/* rgb */ color: rgb(138, 100, 242);
/* oklch */ color: oklch(61.4% 0.204 291.6);
Tailwind
colors: {
  custom: {
    50: '#b291f7',
    500: '#8a64f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a64f2;
$custom-light: #b291f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64f2",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 256.056,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.20367,
    "h": 291.6
  },
  "luminance": 0.20928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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