#8B3FC5#8B3FC5

#8B3FC5 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.202 H 306.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8B3FC5
RGBrgb(139, 63, 197)
HSLhsl(274, 54%, 51%)
HSVhsv(274, 68%, 77%)
CMYKcmyk(29.4%, 68%, 0%, 22.7%)
CIE-LABlab(42.88, 55.53, -56.95)
CIE-LCHlch(42.88, 79.54, 314.28°)
OKLaboklab(53.2% 0.1206 -0.1614)
OKLCHoklch(53.2% 0.202 306.8)
XYZxyz(22.5009, 13.0754, 54.1509)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FC5 #79C53F
analogous
#483FC5 #8B3FC5 #C53FBC
triadic
#8B3FC5 #C58B3F #3FC58B
tetradic
#8B3FC5 #C5483F #79C53F #3FBCC5
square
#8B3FC5 #C5483F #79C53F #3FBCC5
split-complementary
#8B3FC5 #BCC53F #3FC548
monochromatic
#4A206A #6B2E99 #8B3FC5 #A76ED3 #C49DE1

Accessibility & contrast

On white

5.81
#8B3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8B3FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FC5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FC5#FFFFFF#000000##FFFFFF
##8B3FC51.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#815D7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3fc5;
/* rgb */ color: rgb(139, 63, 197);
/* oklch */ color: oklch(53.2% 0.202 306.8);
Tailwind
colors: {
  custom: {
    50: '#b17ad7',
    500: '#8b3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fc5;
$custom-light: #b17ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fc5",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 274.03,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.2015,
    "h": 306.8
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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