#8A3FC1#8A3FC1

#8A3FC1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.8% C 0.197 H 307.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A3FC1
RGBrgb(138, 63, 193)
HSLhsl(275, 51%, 50%)
HSVhsv(275, 67%, 76%)
CMYKcmyk(28.5%, 67.4%, 0%, 24.3%)
CIE-LABlab(42.47, 54.41, -55.27)
CIE-LCHlch(42.47, 77.56, 314.55°)
OKLaboklab(52.8% 0.1197 -0.1566)
OKLCHoklch(52.8% 0.197 307.4)
XYZxyz(21.8824, 12.8088, 51.7613)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FC1 #76C13F
analogous
#493FC1 #8A3FC1 #C13FB7
triadic
#8A3FC1 #C18A3F #3FC18A
tetradic
#8A3FC1 #C1493F #76C13F #3FB7C1
square
#8A3FC1 #C1493F #76C13F #3FB7C1
split-complementary
#8A3FC1 #B7C13F #3FC149
monochromatic
#482165 #693093 #8A3FC1 #A66DD0 #C29CDF

Accessibility & contrast

On white

5.90
#8A3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A3FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FC1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FC1#FFFFFF#000000##FFFFFF
##8A3FC11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#2065BE
Tritanopia (blue-blind)
#815B7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3fc1;
/* rgb */ color: rgb(138, 63, 193);
/* oklch */ color: oklch(52.8% 0.197 307.4);
Tailwind
colors: {
  custom: {
    50: '#b079d4',
    500: '#8a3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fc1;
$custom-light: #b079d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fc1",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 274.615,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.19707,
    "h": 307.4
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#8A3FC1
secondary
#A9CB91
accent
#DB4D89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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