#8A3BC9#8A3BC9

#8A3BC9 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.210 H 305.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A3BC9
RGBrgb(138, 59, 201)
HSLhsl(273, 57%, 51%)
HSVhsv(273, 71%, 79%)
CMYKcmyk(31.3%, 70.6%, 0%, 21.2%)
CIE-LABlab(42.38, 58.05, -60.08)
CIE-LCHlch(42.38, 83.54, 314.02°)
OKLaboklab(52.91% 0.1229 -0.1707)
OKLCHoklch(52.91% 0.21 305.7)
XYZxyz(22.5855, 12.7484, 56.5179)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BC9 #7AC93B
analogous
#433BC9 #8A3BC9 #C93BC1
triadic
#8A3BC9 #C98A3B #3BC98A
tetradic
#8A3BC9 #C9433B #7AC93B #3BC1C9
square
#8A3BC9 #C9433B #7AC93B #3BC1C9
split-complementary
#8A3BC9 #C1C93B #3BC943
monochromatic
#491E6C #6A2B9C #8A3BC9 #A76BD6 #C39BE3

Accessibility & contrast

On white

5.92
#8A3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A3BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BC9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BC9#FFFFFF#000000##FFFFFF
##8A3BC91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#7F5C7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3bc9;
/* rgb */ color: rgb(138, 59, 201);
/* oklch */ color: oklch(52.9% 0.210 305.7);
Tailwind
colors: {
  custom: {
    50: '#b177da',
    500: '#8a3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bc9;
$custom-light: #b177da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bc9",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 273.38,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.21028,
    "h": 305.7
  },
  "luminance": 0.12748
}

Semantic roles & 50–950 ramp

primary
#8A3BC9
secondary
#ACCF90
accent
#E0488B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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