#8D3EBA#8D3EBA

#8D3EBA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.192 H 310.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D3EBA
RGBrgb(141, 62, 186)
HSLhsl(278, 50%, 49%)
HSVhsv(278, 67%, 73%)
CMYKcmyk(24.2%, 66.7%, 0%, 27.1%)
CIE-LABlab(42.24, 53.95, -51.54)
CIE-LCHlch(42.24, 74.62, 316.31°)
OKLaboklab(52.56% 0.1254 -0.1455)
OKLCHoklch(52.56% 0.192 310.7)
XYZxyz(21.5684, 12.6536, 47.7511)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EBA #6BBA3E
analogous
#4F3EBA #8D3EBA #BA3EA9
triadic
#8D3EBA #BA8D3E #3EBA8D
tetradic
#8D3EBA #BA4F3E #6BBA3E #3EA9BA
square
#8D3EBA #BA4F3E #6BBA3E #3EA9BA
split-complementary
#8D3EBA #A9BA3E #3EBA4F
monochromatic
#471F5E #6A2F8C #8D3EBA #A868CD #C396DC

Accessibility & contrast

On white

5.95
#8D3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EBA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EBA#FFFFFF#000000##FFFFFF
##8D3EBA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#875777
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3eba;
/* rgb */ color: rgb(141, 62, 186);
/* oklch */ color: oklch(52.6% 0.192 310.7);
Tailwind
colors: {
  custom: {
    50: '#b279cf',
    500: '#8d3eba',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eba;
$custom-light: #b279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eba",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 278.226,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.19206,
    "h": 310.7
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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