#8A4BAF#8A4BAF

#8A4BAF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.160 H 311.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A4BAF
RGBrgb(138, 75, 175)
HSLhsl(278, 40%, 49%)
HSVhsv(278, 57%, 69%)
CMYKcmyk(21.1%, 57.1%, 0%, 31.4%)
CIE-LABlab(43.55, 44.30, -42.99)
CIE-LCHlch(43.55, 61.73, 315.86°)
OKLaboklab(53.22% 0.1056 -0.1206)
OKLCHoklch(53.22% 0.16 311.2)
XYZxyz(20.7338, 13.5310, 42.0686)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BAF #70AF4B
analogous
#584BAF #8A4BAF #AF4BA2
triadic
#8A4BAF #AF8A4B #4BAF8A
tetradic
#8A4BAF #AF584B #70AF4B #4BA2AF
square
#8A4BAF #AF584B #70AF4B #4BA2AF
split-complementary
#8A4BAF #A2AF4B #4BAF58
monochromatic
#462659 #683984 #8A4BAF #A674C3 #C19FD6

Accessibility & contrast

On white

5.67
#8A4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A4BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BAF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BAF#FFFFFF#000000##FFFFFF
##8A4BAF1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#865D76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4baf;
/* rgb */ color: rgb(138, 75, 175);
/* oklch */ color: oklch(53.2% 0.160 311.2);
Tailwind
colors: {
  custom: {
    50: '#af80c7',
    500: '#8a4baf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4baf;
$custom-light: #af80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4baf",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 277.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.16033,
    "h": 311.2
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#8A4BAF
secondary
#A5C293
accent
#D05884
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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