#8A3BC8#8A3BC8

#8A3BC8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.209 H 306.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3BC8
RGBrgb(138, 59, 200)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 71%, 78%)
CMYKcmyk(31%, 70.5%, 0%, 21.6%)
CIE-LABlab(42.31, 57.82, -59.61)
CIE-LCHlch(42.31, 83.05, 314.13°)
OKLaboklab(52.83% 0.123 -0.1693)
OKLCHoklch(52.83% 0.209 306)
XYZxyz(22.4682, 12.7015, 55.9004)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BC8 #79C83B
analogous
#433BC8 #8A3BC8 #C83BBF
triadic
#8A3BC8 #C88A3B #3BC88A
tetradic
#8A3BC8 #C8433B #79C83B #3BBFC8
square
#8A3BC8 #C8433B #79C83B #3BBFC8
split-complementary
#8A3BC8 #BFC83B #3BC843
monochromatic
#491E6B #6A2B9A #8A3BC8 #A76BD5 #C39BE3

Accessibility & contrast

On white

5.93
#8A3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BC8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BC8#FFFFFF#000000##FFFFFF
##8A3BC81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#7F5C7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3bc8;
/* rgb */ color: rgb(138, 59, 200);
/* oklch */ color: oklch(52.8% 0.209 306.0);
Tailwind
colors: {
  custom: {
    50: '#b177da',
    500: '#8a3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bc8;
$custom-light: #b177da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bc8",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 273.617,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.20926,
    "h": 306
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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