#8A3EBF#8A3EBF

#8A3EBF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.196 H 308.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A3EBF
RGBrgb(138, 62, 191)
HSLhsl(275, 51%, 50%)
HSVhsv(275, 68%, 75%)
CMYKcmyk(27.7%, 67.5%, 0%, 25.1%)
CIE-LABlab(42.17, 54.42, -54.60)
CIE-LCHlch(42.17, 77.08, 314.91°)
OKLaboklab(52.53% 0.121 -0.1546)
OKLCHoklch(52.53% 0.196 308)
XYZxyz(21.6059, 12.6104, 50.5760)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3EBF #73BF3E
analogous
#4A3EBF #8A3EBF #BF3EB4
triadic
#8A3EBF #BF8A3E #3EBF8A
tetradic
#8A3EBF #BF4A3E #73BF3E #3EB4BF
square
#8A3EBF #BF4A3E #73BF3E #3EB4BF
split-complementary
#8A3EBF #B4BF3E #3EBF4A
monochromatic
#472063 #692F91 #8A3EBF #A66BCF #C299DE

Accessibility & contrast

On white

5.96
#8A3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A3EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3EBF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3EBF#FFFFFF#000000##FFFFFF
##8A3EBF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#825A79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3ebf;
/* rgb */ color: rgb(138, 62, 191);
/* oklch */ color: oklch(52.5% 0.196 308.0);
Tailwind
colors: {
  custom: {
    50: '#b079d3',
    500: '#8a3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ebf;
$custom-light: #b079d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ebf",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 275.349,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.19629,
    "h": 308
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#8A3EBF
secondary
#A7CA8F
accent
#DA4D87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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