#8A3CBF#8A3CBF

#8A3CBF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.199 H 308.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A3CBF
RGBrgb(138, 60, 191)
HSLhsl(276, 52%, 49%)
HSVhsv(276, 69%, 75%)
CMYKcmyk(27.7%, 68.6%, 0%, 25.1%)
CIE-LABlab(41.84, 55.34, -55.13)
CIE-LCHlch(41.84, 78.11, 315.11°)
OKLaboklab(52.3% 0.1232 -0.1561)
OKLCHoklch(52.3% 0.199 308.3)
XYZxyz(21.4991, 12.3969, 50.5404)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CBF #71BF3C
analogous
#493CBF #8A3CBF #BF3CB3
triadic
#8A3CBF #BF8A3C #3CBF8A
tetradic
#8A3CBF #BF493C #71BF3C #3CB3BF
square
#8A3CBF #BF493C #71BF3C #3CB3BF
split-complementary
#8A3CBF #B3BF3C #3CBF49
monochromatic
#471F62 #682D90 #8A3CBF #A668D0 #C297DE

Accessibility & contrast

On white

6.04
#8A3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CBF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CBF#FFFFFF#000000##FFFFFF
##8A3CBF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3cbf;
/* rgb */ color: rgb(138, 60, 191);
/* oklch */ color: oklch(52.3% 0.199 308.3);
Tailwind
colors: {
  custom: {
    50: '#b078d3',
    500: '#8a3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cbf;
$custom-light: #b078d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cbf",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 275.725,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.19885,
    "h": 308.3
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#8A3CBF
secondary
#A6CA8D
accent
#DC4C86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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