#8B3FCA#8B3FCA

#8B3FCA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.207 H 305.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8B3FCA
RGBrgb(139, 63, 202)
HSLhsl(273, 57%, 52%)
HSVhsv(273, 69%, 79%)
CMYKcmyk(31.2%, 68.8%, 0%, 20.8%)
CIE-LABlab(43.22, 56.68, -59.28)
CIE-LCHlch(43.22, 82.02, 313.71°)
OKLaboklab(53.56% 0.12 -0.1683)
OKLCHoklch(53.56% 0.207 305.5)
XYZxyz(23.0833, 13.3084, 57.2184)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FCA #7ECA3F
analogous
#463FCA #8B3FCA #CA3FC4
triadic
#8B3FCA #CA8B3F #3FCA8B
tetradic
#8B3FCA #CA463F #7ECA3F #3FC4CA
square
#8B3FCA #CA463F #7ECA3F #3FC4CA
split-complementary
#8B3FCA #C4CA3F #3FCA46
monochromatic
#4B1F70 #6B2CA0 #8B3FCA #A86FD7 #C59FE4

Accessibility & contrast

On white

5.74
#8B3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8B3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FCA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FCA#FFFFFF#000000##FFFFFF
##8B3FCA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0A66C7
Tritanopia (blue-blind)
#805F80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3fca;
/* rgb */ color: rgb(139, 63, 202);
/* oklch */ color: oklch(53.6% 0.207 305.5);
Tailwind
colors: {
  custom: {
    50: '#b27adb',
    500: '#8b3fca',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fca;
$custom-light: #b27adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fca",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 272.806,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.20669,
    "h": 305.5
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#8B3FCA
secondary
#B0D194
accent
#E0488D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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