#8D3DBA#8D3DBA

#8D3DBA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.193 H 310.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D3DBA
RGBrgb(141, 61, 186)
HSLhsl(278, 51%, 48%)
HSVhsv(278, 67%, 73%)
CMYKcmyk(24.2%, 67.2%, 0%, 27.1%)
CIE-LABlab(42.07, 54.41, -51.81)
CIE-LCHlch(42.07, 75.13, 316.40°)
OKLaboklab(52.44% 0.1265 -0.1463)
OKLCHoklch(52.44% 0.193 310.8)
XYZxyz(21.5145, 12.5459, 47.7331)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DBA #6ABA3D
analogous
#4E3DBA #8D3DBA #BA3DA8
triadic
#8D3DBA #BA8D3D #3DBA8D
tetradic
#8D3DBA #BA4E3D #6ABA3D #3DA8BA
square
#8D3DBA #BA4E3D #6ABA3D #3DA8BA
split-complementary
#8D3DBA #A8BA3D #3DBA4E
monochromatic
#471F5E #6A2E8C #8D3DBA #A867CD #C395DC

Accessibility & contrast

On white

5.98
#8D3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8D3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DBA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DBA#FFFFFF#000000##FFFFFF
##8D3DBA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#2D65B7
Tritanopia (blue-blind)
#875776
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3dba;
/* rgb */ color: rgb(141, 61, 186);
/* oklch */ color: oklch(52.4% 0.193 310.8);
Tailwind
colors: {
  custom: {
    50: '#b278cf',
    500: '#8d3dba',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dba;
$custom-light: #b278cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dba",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 278.4,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.19339,
    "h": 310.8
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#8D3DBA
secondary
#A1C88B
accent
#DA4E80
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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