#8A63B5#8A63B5

#8A63B5 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.4% C 0.128 H 304.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A63B5
RGBrgb(138, 99, 181)
HSLhsl(269, 36%, 55%)
HSVhsv(269, 45%, 71%)
CMYKcmyk(23.8%, 45.3%, 0%, 29%)
CIE-LABlab(49.09, 32.31, -37.74)
CIE-LCHlch(49.09, 49.67, 310.57°)
OKLaboklab(57.42% 0.0728 -0.1054)
OKLCHoklch(57.42% 0.128 304.6)
XYZxyz(23.2818, 17.6633, 45.8899)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63B5 #8EB563
analogous
#6365B5 #8A63B5 #B363B5
triadic
#8A63B5 #B58A63 #63B58A
tetradic
#8A63B5 #B56365 #8EB563 #63B5B3
square
#8A63B5 #B56365 #8EB563 #63B5B3
split-complementary
#8A63B5 #B5B363 #65B563
monochromatic
#4D336B #6B4694 #8A63B5 #A98DC9 #C8B6DC

Accessibility & contrast

On white

4.63
#8A63B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8A63B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63B5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63B5#FFFFFF#000000##FFFFFF
##8A63B51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#837183
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a63b5;
/* rgb */ color: rgb(138, 99, 181);
/* oklch */ color: oklch(57.4% 0.128 304.6);
Tailwind
colors: {
  custom: {
    50: '#ae90cb',
    500: '#8a63b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a63b5;
$custom-light: #ae90cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63b5",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 181
  },
  "hsl": {
    "h": 268.537,
    "s": 35.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.12809,
    "h": 304.6
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#8A63B5
secondary
#BBCBA9
accent
#CC5C97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A63B5

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

Preview Lab → · Contrast checker → · Palette generator →

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