#8D3FB8#8D3FB8

#8D3FB8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.189 H 311.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8D3FB8
RGBrgb(141, 63, 184)
HSLhsl(279, 49%, 48%)
HSVhsv(279, 66%, 72%)
CMYKcmyk(23.4%, 65.8%, 0%, 27.8%)
CIE-LABlab(42.28, 53.05, -50.31)
CIE-LCHlch(42.28, 73.11, 316.52°)
OKLaboklab(52.55% 0.1244 -0.1419)
OKLCHoklch(52.55% 0.189 311.2)
XYZxyz(21.4121, 12.6789, 46.6574)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FB8 #6AB83F
analogous
#503FB8 #8D3FB8 #B83FA6
triadic
#8D3FB8 #B88D3F #3FB88D
tetradic
#8D3FB8 #B8503F #6AB83F #3FA6B8
square
#8D3FB8 #B8503F #6AB83F #3FA6B8
split-complementary
#8D3FB8 #A6B83F #3FB850
monochromatic
#47205D #6A2F8A #8D3FB8 #A869CC #C396DB

Accessibility & contrast

On white

5.94
#8D3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D3FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FB8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FB8#FFFFFF#000000##FFFFFF
##8D3FB81.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#885776
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3fb8;
/* rgb */ color: rgb(141, 63, 184);
/* oklch */ color: oklch(52.5% 0.189 311.2);
Tailwind
colors: {
  custom: {
    50: '#b279ce',
    500: '#8d3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fb8;
$custom-light: #b279ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fb8",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 278.678,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.18867,
    "h": 311.2
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#8D3FB8
secondary
#A1C78C
accent
#D94F80
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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