#8C64FA#8C64FA

#8C64FA is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.1% C 0.213 H 291.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8C64FA
RGBrgb(140, 100, 250)
HSLhsl(256, 94%, 69%)
HSVhsv(256, 60%, 98%)
CMYKcmyk(44%, 60%, 0%, 2%)
CIE-LABlab(53.59, 50.12, -69.69)
CIE-LCHlch(53.59, 85.84, 305.72°)
OKLaboklab(62.12% 0.0771 -0.199)
OKLCHoklch(62.12% 0.213 291.2)
XYZxyz(32.6229, 21.5908, 92.8725)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C64FA #D2FA64
analogous
#6487FA #8C64FA #D764FA
triadic
#8C64FA #FA8C64 #64FA8C
tetradic
#8C64FA #FA6487 #D2FA64 #64FAD7
square
#8C64FA #FA6487 #D2FA64 #64FAD7
split-complementary
#8C64FA #FAD764 #87FA64
monochromatic
#4007DC #6029F8 #8C64FA #B89FFC #E4DBFE

Accessibility & contrast

On white

3.95
#8C64FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8C64FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C64FA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C64FA#FFFFFF#000000##000000
##8C64FA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#6C86A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8c64fa;
/* rgb */ color: rgb(140, 100, 250);
/* oklch */ color: oklch(62.1% 0.213 291.2);
Tailwind
colors: {
  custom: {
    50: '#b592fd',
    500: '#8c64fa',
    950: '#000000',
  },
}
SCSS
$custom: #8c64fa;
$custom-light: #b592fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c64fa",
  "rgb": {
    "r": 140,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 256,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62116,
    "c": 0.21341,
    "h": 291.2
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#8C64FA
secondary
#E7F3C7
accent
#E600A8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8C64FA

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

Preview Lab → · Contrast checker → · Palette generator →

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