#8A63E6#8A63E6

#8A63E6 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.190 H 293.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A63E6
RGBrgb(138, 99, 230)
HSLhsl(258, 72%, 65%)
HSVhsv(258, 57%, 90%)
CMYKcmyk(40%, 57%, 0%, 9.8%)
CIE-LABlab(51.88, 44.87, -61.28)
CIE-LCHlch(51.88, 75.95, 306.21°)
OKLaboklab(60.4% 0.0763 -0.1743)
OKLCHoklch(60.4% 0.19 293.6)
XYZxyz(29.2222, 20.0394, 77.1759)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63E6 #BFE663
analogous
#637DE6 #8A63E6 #CC63E6
triadic
#8A63E6 #E68A63 #63E68A
tetradic
#8A63E6 #E6637D #BFE663 #63E6CC
square
#8A63E6 #E6637D #BFE663 #63E6CC
split-complementary
#8A63E6 #E6CC63 #7DE663
monochromatic
#491DB2 #622EDE #8A63E6 #B298EE #D9CCF7

Accessibility & contrast

On white

4.19
#8A63E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A63E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63E6#FFFFFF#000000##000000
##8A63E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#167DEA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#727F9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a63e6;
/* rgb */ color: rgb(138, 99, 230);
/* oklch */ color: oklch(60.4% 0.190 293.6);
Tailwind
colors: {
  custom: {
    50: '#b191ef',
    500: '#8a63e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a63e6;
$custom-light: #b191ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63e6",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 230
  },
  "hsl": {
    "h": 257.863,
    "s": 72.376,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.19028,
    "h": 293.6
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#8A63E6
secondary
#DCE9BC
accent
#D4119A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A63E6

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

Preview Lab → · Contrast checker → · Palette generator →

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