#8D3DBB#8D3DBB

#8D3DBB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.194 H 310.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D3DBB
RGBrgb(141, 61, 187)
HSLhsl(278, 51%, 49%)
HSVhsv(278, 67%, 73%)
CMYKcmyk(24.6%, 67.4%, 0%, 26.7%)
CIE-LABlab(42.14, 54.63, -52.29)
CIE-LCHlch(42.14, 75.63, 316.26°)
OKLaboklab(52.51% 0.1264 -0.1477)
OKLCHoklch(52.51% 0.194 310.6)
XYZxyz(21.6212, 12.5885, 48.2949)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DBB #6BBB3D
analogous
#4E3DBB #8D3DBB #BB3DAA
triadic
#8D3DBB #BB8D3D #3DBB8D
tetradic
#8D3DBB #BB4E3D #6BBB3D #3DAABB
square
#8D3DBB #BB4E3D #6BBB3D #3DAABB
split-complementary
#8D3DBB #AABB3D #3DBB4E
monochromatic
#471F5F #6A2E8D #8D3DBB #A868CE #C396DD

Accessibility & contrast

On white

5.97
#8D3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DBB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DBB#FFFFFF#000000##FFFFFF
##8D3DBB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#875777
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3dbb;
/* rgb */ color: rgb(141, 61, 187);
/* oklch */ color: oklch(52.5% 0.194 310.6);
Tailwind
colors: {
  custom: {
    50: '#b278d0',
    500: '#8d3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dbb;
$custom-light: #b278d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dbb",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 278.095,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.1944,
    "h": 310.6
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#8D3DBB
secondary
#A2C88C
accent
#DA4E81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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