#8A3BC1#8A3BC1

#8A3BC1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.202 H 307.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A3BC1
RGBrgb(138, 59, 193)
HSLhsl(275, 53%, 49%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(28.5%, 69.4%, 0%, 24.3%)
CIE-LABlab(41.82, 56.24, -56.34)
CIE-LCHlch(41.82, 79.60, 314.95°)
OKLaboklab(52.33% 0.124 -0.1597)
OKLCHoklch(52.33% 0.202 307.8)
XYZxyz(21.6688, 12.3818, 51.6901)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BC1 #72C13B
analogous
#473BC1 #8A3BC1 #C13BB5
triadic
#8A3BC1 #C18A3B #3BC18A
tetradic
#8A3BC1 #C1473B #72C13B #3BB5C1
square
#8A3BC1 #C1473B #72C13B #3BB5C1
split-complementary
#8A3BC1 #B5C13B #3BC147
monochromatic
#471E63 #682D92 #8A3BC1 #A668D1 #C297DF

Accessibility & contrast

On white

6.04
#8A3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BC1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BC1#FFFFFF#000000##FFFFFF
##8A3BC11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#1963BE
Tritanopia (blue-blind)
#81597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3bc1;
/* rgb */ color: rgb(138, 59, 193);
/* oklch */ color: oklch(52.3% 0.202 307.8);
Tailwind
colors: {
  custom: {
    50: '#b177d4',
    500: '#8a3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bc1;
$custom-light: #b177d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bc1",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 275.373,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.20215,
    "h": 307.8
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#8A3BC1
secondary
#A6CB8D
accent
#DD4B87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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