#8A63B1#8A63B1

#8A63B1 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.2% C 0.123 H 305.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A63B1
RGBrgb(138, 99, 177)
HSLhsl(270, 33%, 54%)
HSVhsv(270, 44%, 69%)
CMYKcmyk(22%, 44.1%, 0%, 30.6%)
CIE-LABlab(48.89, 31.34, -35.72)
CIE-LCHlch(48.89, 47.52, 311.26°)
OKLaboklab(57.21% 0.0721 -0.0996)
OKLCHoklch(57.21% 0.123 305.9)
XYZxyz(22.8773, 17.5014, 43.7594)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63B1 #8AB163
analogous
#6363B1 #8A63B1 #B163B1
triadic
#8A63B1 #B18A63 #63B18A
tetradic
#8A63B1 #B16363 #8AB163 #63B1B1
square
#8A63B1 #B16363 #8AB163 #63B1B1
split-complementary
#8A63B1 #B1B163 #63B163
monochromatic
#4D3366 #6B488F #8A63B1 #A98CC5 #C7B5DA

Accessibility & contrast

On white

4.67
#8A63B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8A63B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63B1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63B1#FFFFFF#000000##FFFFFF
##8A63B11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B4
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#847081
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a63b1;
/* rgb */ color: rgb(138, 99, 177);
/* oklch */ color: oklch(57.2% 0.123 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae90c8',
    500: '#8a63b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a63b1;
$custom-light: #ae90c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63b1",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 33.333,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.12295,
    "h": 305.9
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#8A63B1
secondary
#B8C8A7
accent
#C95E94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A63B1

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

Preview Lab → · Contrast checker → · Palette generator →

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