#8A36BF#8A36BF

#8A36BF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.206 H 308.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A36BF
RGBrgb(138, 54, 191)
HSLhsl(277, 56%, 48%)
HSVhsv(277, 72%, 75%)
CMYKcmyk(27.7%, 71.7%, 0%, 25.1%)
CIE-LABlab(40.90, 57.97, -56.65)
CIE-LCHlch(40.90, 81.05, 315.66°)
OKLaboklab(51.63% 0.1294 -0.1605)
OKLCHoklch(51.63% 0.206 308.9)
XYZxyz(21.2025, 11.8036, 50.4415)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36BF #6BBF36
analogous
#4536BF #8A36BF #BF36AF
triadic
#8A36BF #BF8A36 #36BF8A
tetradic
#8A36BF #BF4536 #6BBF36 #36AFBF
square
#8A36BF #BF4536 #6BBF36 #36AFBF
split-complementary
#8A36BF #AFBF36 #36BF45
monochromatic
#451B60 #68298F #8A36BF #A660D2 #C190E0

Accessibility & contrast

On white

6.25
#8A36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36BF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36BF#FFFFFF#000000##FFFFFF
##8A36BF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#1361BC
Tritanopia (blue-blind)
#825577
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a36bf;
/* rgb */ color: rgb(138, 54, 191);
/* oklch */ color: oklch(51.6% 0.206 308.9);
Tailwind
colors: {
  custom: {
    50: '#b174d3',
    500: '#8a36bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a36bf;
$custom-light: #b174d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36bf",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 276.788,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.20619,
    "h": 308.9
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#8A36BF
secondary
#A1CA87
accent
#DF4983
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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