#8D3DBE#8D3DBE

#8D3DBE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.7% C 0.197 H 309.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8D3DBE
RGBrgb(141, 61, 190)
HSLhsl(277, 51%, 49%)
HSVhsv(277, 68%, 75%)
CMYKcmyk(25.8%, 67.9%, 0%, 25.5%)
CIE-LABlab(42.34, 55.30, -53.73)
CIE-LCHlch(42.34, 77.10, 315.82°)
OKLaboklab(52.72% 0.1261 -0.1519)
OKLCHoklch(52.72% 0.197 309.7)
XYZxyz(21.9457, 12.7183, 50.0040)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DBE #6EBE3D
analogous
#4D3DBE #8D3DBE #BE3DAF
triadic
#8D3DBE #BE8D3D #3DBE8D
tetradic
#8D3DBE #BE4D3D #6EBE3D #3DAFBE
square
#8D3DBE #BE4D3D #6EBE3D #3DAFBE
split-complementary
#8D3DBE #AFBE3D #3DBE4D
monochromatic
#481F61 #6B2E90 #8D3DBE #A869CF #C398DE

Accessibility & contrast

On white

5.93
#8D3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3DBE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DBE#FFFFFF#000000##FFFFFF
##8D3DBE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2765BB
Tritanopia (blue-blind)
#865879
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3dbe;
/* rgb */ color: rgb(141, 61, 190);
/* oklch */ color: oklch(52.7% 0.197 309.7);
Tailwind
colors: {
  custom: {
    50: '#b278d2',
    500: '#8d3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dbe;
$custom-light: #b278d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dbe",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 277.209,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.19745,
    "h": 309.7
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#8D3DBE
secondary
#A4C98D
accent
#DB4D83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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