#8A3FBE#8A3FBE

#8A3FBE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.194 H 308.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A3FBE
RGBrgb(138, 63, 190)
HSLhsl(275, 50%, 50%)
HSVhsv(275, 67%, 75%)
CMYKcmyk(27.4%, 66.8%, 0%, 25.5%)
CIE-LABlab(42.27, 53.72, -53.85)
CIE-LCHlch(42.27, 76.07, 314.93°)
OKLaboklab(52.59% 0.12 -0.1524)
OKLCHoklch(52.59% 0.194 308.2)
XYZxyz(21.5511, 12.6763, 50.0167)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FBE #73BE3F
analogous
#4A3FBE #8A3FBE #BE3FB3
triadic
#8A3FBE #BE8A3F #3FBE8A
tetradic
#8A3FBE #BE4A3F #73BE3F #3FB3BE
square
#8A3FBE #BE4A3F #73BE3F #3FB3BE
split-complementary
#8A3FBE #B3BE3F #3FBE4A
monochromatic
#472162 #693090 #8A3FBE #A66CCE #C29ADD

Accessibility & contrast

On white

5.94
#8A3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3FBE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FBE#FFFFFF#000000##FFFFFF
##8A3FBE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2565BB
Tritanopia (blue-blind)
#825A79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3fbe;
/* rgb */ color: rgb(138, 63, 190);
/* oklch */ color: oklch(52.6% 0.194 308.2);
Tailwind
colors: {
  custom: {
    50: '#b079d2',
    500: '#8a3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fbe;
$custom-light: #b079d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fbe",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 275.433,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.19395,
    "h": 308.2
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#8A3FBE
secondary
#A7C98F
accent
#DA4E87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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