#8A3BCA#8A3BCA

#8A3BCA is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.211 H 305.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A3BCA
RGBrgb(138, 59, 202)
HSLhsl(273, 57%, 51%)
HSVhsv(273, 71%, 79%)
CMYKcmyk(31.7%, 70.8%, 0%, 20.8%)
CIE-LABlab(42.45, 58.28, -60.54)
CIE-LCHlch(42.45, 84.03, 313.91°)
OKLaboklab(52.98% 0.1227 -0.172)
OKLCHoklch(52.98% 0.211 305.5)
XYZxyz(22.7035, 12.7956, 57.1394)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BCA #7BCA3B
analogous
#423BCA #8A3BCA #CA3BC2
triadic
#8A3BCA #CA8A3B #3BCA8A
tetradic
#8A3BCA #CA423B #7BCA3B #3BC2CA
square
#8A3BCA #CA423B #7BCA3B #3BC2CA
split-complementary
#8A3BCA #C2CA3B #3BCA42
monochromatic
#491E6D #6A2B9D #8A3BCA #A76BD7 #C49BE4

Accessibility & contrast

On white

5.90
#8A3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BCA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BCA#FFFFFF#000000##FFFFFF
##8A3BCA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#7E5C7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3bca;
/* rgb */ color: rgb(138, 59, 202);
/* oklch */ color: oklch(53.0% 0.211 305.5);
Tailwind
colors: {
  custom: {
    50: '#b178db',
    500: '#8a3bca',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bca;
$custom-light: #b178db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bca",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 273.147,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.2113,
    "h": 305.5
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#8A3BCA
secondary
#ADD091
accent
#E1478C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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