#8A4CBF#8A4CBF

#8A4CBF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.177 H 306.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A4CBF
RGBrgb(138, 76, 191)
HSLhsl(272, 47%, 52%)
HSVhsv(272, 60%, 75%)
CMYKcmyk(27.7%, 60.2%, 0%, 25.1%)
CIE-LABlab(44.71, 47.48, -50.51)
CIE-LCHlch(44.71, 69.33, 313.23°)
OKLaboklab(54.37% 0.1045 -0.1427)
OKLCHoklch(54.37% 0.177 306.2)
XYZxyz(22.4676, 14.3339, 50.8632)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CBF #81BF4C
analogous
#514CBF #8A4CBF #BF4CBA
triadic
#8A4CBF #BF8A4C #4CBF8A
tetradic
#8A4CBF #BF514C #81BF4C #4CBABF
square
#8A4CBF #BF514C #81BF4C #4CBABF
split-complementary
#8A4CBF #BABF4C #4CBF51
monochromatic
#4B266B #6B3698 #8A4CBF #A779CF #C5A6DF

Accessibility & contrast

On white

5.43
#8A4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A4CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CBF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CBF#FFFFFF#000000##FFFFFF
##8A4CBF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#81637E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4cbf;
/* rgb */ color: rgb(138, 76, 191);
/* oklch */ color: oklch(54.4% 0.177 306.2);
Tailwind
colors: {
  custom: {
    50: '#b081d3',
    500: '#8a4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cbf;
$custom-light: #b081d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cbf",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 272.348,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.17686,
    "h": 306.2
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#8A4CBF
secondary
#B1CC9A
accent
#D7518F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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