#8A3FC0#8A3FC0

#8A3FC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.196 H 307.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A3FC0
RGBrgb(138, 63, 192)
HSLhsl(275, 51%, 50%)
HSVhsv(275, 67%, 75%)
CMYKcmyk(28.1%, 67.2%, 0%, 24.7%)
CIE-LABlab(42.41, 54.18, -54.80)
CIE-LCHlch(42.41, 77.06, 314.67°)
OKLaboklab(52.73% 0.1198 -0.1552)
OKLCHoklch(52.73% 0.196 307.7)
XYZxyz(21.7712, 12.7644, 51.1758)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FC0 #75C03F
analogous
#4A3FC0 #8A3FC0 #C03FB5
triadic
#8A3FC0 #C08A3F #3FC08A
tetradic
#8A3FC0 #C04A3F #75C03F #3FB5C0
square
#8A3FC0 #C04A3F #75C03F #3FB5C0
split-complementary
#8A3FC0 #B5C03F #3FC04A
monochromatic
#482164 #693092 #8A3FC0 #A66DCF #C29BDE

Accessibility & contrast

On white

5.91
#8A3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A3FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FC0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FC0#FFFFFF#000000##FFFFFF
##8A3FC01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#815B7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3fc0;
/* rgb */ color: rgb(138, 63, 192);
/* oklch */ color: oklch(52.7% 0.196 307.7);
Tailwind
colors: {
  custom: {
    50: '#b079d4',
    500: '#8a3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fc0;
$custom-light: #b079d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fc0",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 274.884,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.19603,
    "h": 307.7
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#8A3FC0
secondary
#A9CA91
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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