#8D3EBB#8D3EBB

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

Color values

HEX#8D3EBB
RGBrgb(141, 62, 187)
HSLhsl(278, 50%, 49%)
HSVhsv(278, 67%, 73%)
CMYKcmyk(24.6%, 66.8%, 0%, 26.7%)
CIE-LABlab(42.30, 54.17, -52.02)
CIE-LCHlch(42.30, 75.11, 316.16°)
OKLaboklab(52.63% 0.1253 -0.1469)
OKLCHoklch(52.63% 0.193 310.5)
XYZxyz(21.6751, 12.6963, 48.3129)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EBB #6CBB3E
analogous
#4F3EBB #8D3EBB #BB3EAB
triadic
#8D3EBB #BB8D3E #3EBB8D
tetradic
#8D3EBB #BB4F3E #6CBB3E #3EABBB
square
#8D3EBB #BB4F3E #6CBB3E #3EABBB
split-complementary
#8D3EBB #ABBB3E #3EBB4F
monochromatic
#48205F #6A2F8D #8D3EBB #A869CD #C397DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D3EBB#FFFFFF#000000##FFFFFF
##8D3EBB1.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)
#0060BF
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#875877
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3ebb;
/* rgb */ color: rgb(141, 62, 187);
/* oklch */ color: oklch(52.6% 0.193 310.5);
Tailwind
colors: {
  custom: {
    50: '#b279d0',
    500: '#8d3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ebb;
$custom-light: #b279d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ebb",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 277.92,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.19308,
    "h": 310.5
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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