#8E63AC#8E63AC

#8E63AC is a mid, moderate violet. Relative luminance 0.177; OKLCH L 57.4% C 0.118 H 310.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8E63AC
RGBrgb(142, 99, 172)
HSLhsl(275, 31%, 53%)
HSVhsv(275, 42%, 67%)
CMYKcmyk(17.4%, 42.4%, 0%, 32.5%)
CIE-LABlab(49.07, 31.37, -32.48)
CIE-LCHlch(49.07, 45.16, 314.01°)
OKLaboklab(57.37% 0.0762 -0.0901)
OKLCHoklch(57.37% 0.118 310.2)
XYZxyz(23.0622, 17.6534, 41.2143)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E63AC #81AC63
analogous
#6963AC #8E63AC #AC63A6
triadic
#8E63AC #AC8E63 #63AC8E
tetradic
#8E63AC #AC6963 #81AC63 #63A6AC
square
#8E63AC #AC6963 #81AC63 #63A6AC
split-complementary
#8E63AC #A6AC63 #63AC69
monochromatic
#4E3461 #6F4989 #8E63AC #AB8BC1 #C8B3D7

Accessibility & contrast

On white

4.64
#8E63AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E63AC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E63AC#FFFFFF#000000##FFFFFF
##8E63AC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5473AF
Deuteranopia (green-blind)
#5E75AA
Tritanopia (blue-blind)
#8B6E7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e63ac;
/* rgb */ color: rgb(142, 99, 172);
/* oklch */ color: oklch(57.4% 0.118 310.2);
Tailwind
colors: {
  custom: {
    50: '#b090c5',
    500: '#8e63ac',
    950: '#000000',
  },
}
SCSS
$custom: #8e63ac;
$custom-light: #b090c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e63ac",
  "rgb": {
    "r": 142,
    "g": 99,
    "b": 172
  },
  "hsl": {
    "h": 275.342,
    "s": 30.544,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.11802,
    "h": 310.2
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#8E63AC
secondary
#B3C5A6
accent
#C7618B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8E63AC

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

Preview Lab → · Contrast checker → · Palette generator →

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