#8A3FC4#8A3FC4

#8A3FC4 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.200 H 306.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A3FC4
RGBrgb(138, 63, 196)
HSLhsl(274, 53%, 51%)
HSVhsv(274, 68%, 77%)
CMYKcmyk(29.6%, 67.9%, 0%, 23.1%)
CIE-LABlab(42.68, 55.09, -56.69)
CIE-LCHlch(42.68, 79.05, 314.18°)
OKLaboklab(53.01% 0.1194 -0.1607)
OKLCHoklch(53.01% 0.2 306.6)
XYZxyz(22.2204, 12.9440, 53.5417)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FC4 #79C43F
analogous
#473FC4 #8A3FC4 #C43FBB
triadic
#8A3FC4 #C48A3F #3FC48A
tetradic
#8A3FC4 #C4473F #79C43F #3FBBC4
square
#8A3FC4 #C4473F #79C43F #3FBBC4
split-complementary
#8A3FC4 #BBC43F #3FC447
monochromatic
#492068 #6A2E97 #8A3FC4 #A76ED2 #C39DE1

Accessibility & contrast

On white

5.85
#8A3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FC4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FC4#FFFFFF#000000##FFFFFF
##8A3FC41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#1A65C1
Tritanopia (blue-blind)
#805C7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3fc4;
/* rgb */ color: rgb(138, 63, 196);
/* oklch */ color: oklch(53.0% 0.200 306.6);
Tailwind
colors: {
  custom: {
    50: '#b179d7',
    500: '#8a3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fc4;
$custom-light: #b179d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fc4",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 273.835,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.2002,
    "h": 306.6
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#8A3FC4
secondary
#ACCD92
accent
#DC4B8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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