#8D63B2#8D63B2

#8D63B2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.6% C 0.125 H 307.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D63B2
RGBrgb(141, 99, 178)
HSLhsl(272, 34%, 54%)
HSVhsv(272, 44%, 70%)
CMYKcmyk(20.8%, 44.4%, 0%, 30.2%)
CIE-LABlab(49.25, 32.47, -35.70)
CIE-LCHlch(49.25, 48.26, 312.28°)
OKLaboklab(57.58% 0.0761 -0.0994)
OKLCHoklch(57.58% 0.125 307.4)
XYZxyz(23.4806, 17.8010, 44.3098)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D63B2 #88B263
analogous
#6663B2 #8D63B2 #B263B0
triadic
#8D63B2 #B28D63 #63B28D
tetradic
#8D63B2 #B26663 #88B263 #63B0B2
square
#8D63B2 #B26663 #88B263 #63B0B2
split-complementary
#8D63B2 #B0B263 #63B266
monochromatic
#4F3368 #6E4790 #8D63B2 #AB8CC6 #C9B5DA

Accessibility & contrast

On white

4.61
#8D63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D63B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D63B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D63B2#FFFFFF#000000##FFFFFF
##8D63B21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#887082
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d63b2;
/* rgb */ color: rgb(141, 99, 178);
/* oklch */ color: oklch(57.6% 0.125 307.4);
Tailwind
colors: {
  custom: {
    50: '#b090c9',
    500: '#8d63b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d63b2;
$custom-light: #b090c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d63b2",
  "rgb": {
    "r": 141,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 271.899,
    "s": 33.906,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.12519,
    "h": 307.4
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#8D63B2
secondary
#B7C9A8
accent
#CA5E90
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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