#8A63B2#8A63B2

#8A63B2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.3% C 0.124 H 305.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A63B2
RGBrgb(138, 99, 178)
HSLhsl(270, 34%, 54%)
HSVhsv(270, 44%, 70%)
CMYKcmyk(22.5%, 44.4%, 0%, 30.2%)
CIE-LABlab(48.94, 31.58, -36.23)
CIE-LCHlch(48.94, 48.06, 311.08°)
OKLaboklab(57.26% 0.0723 -0.101)
OKLCHoklch(57.26% 0.124 305.6)
XYZxyz(22.9773, 17.5414, 44.2862)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63B2 #8BB263
analogous
#6364B2 #8A63B2 #B263B2
triadic
#8A63B2 #B28A63 #63B28A
tetradic
#8A63B2 #B26364 #8BB263 #63B2B2
square
#8A63B2 #B26364 #8BB263 #63B2B2
split-complementary
#8A63B2 #B2B263 #64B263
monochromatic
#4D3368 #6B4790 #8A63B2 #A98CC6 #C7B5DA

Accessibility & contrast

On white

4.66
#8A63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A63B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63B2#FFFFFF#000000##FFFFFF
##8A63B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#5974B0
Tritanopia (blue-blind)
#847082
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a63b2;
/* rgb */ color: rgb(138, 99, 178);
/* oklch */ color: oklch(57.3% 0.124 305.6);
Tailwind
colors: {
  custom: {
    50: '#ae90c9',
    500: '#8a63b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a63b2;
$custom-light: #ae90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63b2",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 269.62,
    "s": 33.906,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.12423,
    "h": 305.6
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#8A63B2
secondary
#B9C9A8
accent
#CA5E95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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