#8A3DBF#8A3DBF

#8A3DBF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.198 H 308.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A3DBF
RGBrgb(138, 61, 191)
HSLhsl(276, 52%, 49%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(27.7%, 68.1%, 0%, 25.1%)
CIE-LABlab(42.00, 54.88, -54.86)
CIE-LCHlch(42.00, 77.60, 315.01°)
OKLaboklab(52.42% 0.1221 -0.1554)
OKLCHoklch(52.42% 0.198 308.2)
XYZxyz(21.5520, 12.5027, 50.5580)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DBF #72BF3D
analogous
#493DBF #8A3DBF #BF3DB3
triadic
#8A3DBF #BF8A3D #3DBF8A
tetradic
#8A3DBF #BF493D #72BF3D #3DB3BF
square
#8A3DBF #BF493D #72BF3D #3DB3BF
split-complementary
#8A3DBF #B3BF3D #3DBF49
monochromatic
#471F62 #682E91 #8A3DBF #A66ACF #C298DE

Accessibility & contrast

On white

6.00
#8A3DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A3DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DBF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DBF#FFFFFF#000000##FFFFFF
##8A3DBF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#825979
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3dbf;
/* rgb */ color: rgb(138, 61, 191);
/* oklch */ color: oklch(52.4% 0.198 308.2);
Tailwind
colors: {
  custom: {
    50: '#b078d3',
    500: '#8a3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dbf;
$custom-light: #b078d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dbf",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 275.538,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.19758,
    "h": 308.2
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#8A3DBF
secondary
#A6CA8E
accent
#DB4D87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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