#8A3FC5#8A3FC5

#8A3FC5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.201 H 306.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A3FC5
RGBrgb(138, 63, 197)
HSLhsl(274, 54%, 51%)
HSVhsv(274, 68%, 77%)
CMYKcmyk(29.9%, 68%, 0%, 22.7%)
CIE-LABlab(42.75, 55.32, -57.16)
CIE-LCHlch(42.75, 79.55, 314.06°)
OKLaboklab(53.08% 0.1192 -0.1621)
OKLCHoklch(53.08% 0.201 306.3)
XYZxyz(22.3346, 12.9897, 54.1432)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FC5 #7AC53F
analogous
#473FC5 #8A3FC5 #C53FBD
triadic
#8A3FC5 #C58A3F #3FC58A
tetradic
#8A3FC5 #C5473F #7AC53F #3FBDC5
square
#8A3FC5 #C5473F #7AC53F #3FBDC5
split-complementary
#8A3FC5 #BDC53F #3FC547
monochromatic
#49206A #6A2E99 #8A3FC5 #A76ED3 #C39DE1

Accessibility & contrast

On white

5.84
#8A3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A3FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FC5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FC5#FFFFFF#000000##FFFFFF
##8A3FC51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#1865C2
Tritanopia (blue-blind)
#805D7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3fc5;
/* rgb */ color: rgb(138, 63, 197);
/* oklch */ color: oklch(53.1% 0.201 306.3);
Tailwind
colors: {
  custom: {
    50: '#b17ad7',
    500: '#8a3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fc5;
$custom-light: #b17ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fc5",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 273.582,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53078,
    "c": 0.20125,
    "h": 306.3
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#8A3FC5
secondary
#ACCE92
accent
#DD4B8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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