#8D4BEC#8D4BEC

#8D4BEC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.229 H 297.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D4BEC
RGBrgb(141, 75, 236)
HSLhsl(265, 81%, 61%)
HSVhsv(265, 68%, 93%)
CMYKcmyk(40.3%, 68.2%, 0%, 7.5%)
CIE-LABlab(47.94, 59.58, -71.02)
CIE-LCHlch(47.94, 92.70, 309.99°)
OKLaboklab(57.75% 0.1056 -0.2028)
OKLCHoklch(57.75% 0.229 297.5)
XYZxyz(28.6370, 16.7505, 81.0650)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BEC #AAEC4B
analogous
#4B59EC #8D4BEC #DD4BEC
triadic
#8D4BEC #EC8D4B #4BEC8D
tetradic
#8D4BEC #EC4B59 #AAEC4B #4BECDD
square
#8D4BEC #EC4B59 #AAEC4B #4BECDD
split-complementary
#8D4BEC #ECDD4B #59EC4B
monochromatic
#5112AB #6B18E2 #8D4BEC #B082F2 #D3BAF8

Accessibility & contrast

On white

4.83
#8D4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8D4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BEC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BEC#FFFFFF#000000##FFFFFF
##8D4BEC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#757296
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4bec;
/* rgb */ color: rgb(141, 75, 236);
/* oklch */ color: oklch(57.8% 0.229 297.5);
Tailwind
colors: {
  custom: {
    50: '#b582f3',
    500: '#8d4bec',
    950: '#000000',
  },
}
SCSS
$custom: #8d4bec;
$custom-light: #b582f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4bec",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 264.596,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.22864,
    "h": 297.5
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#8D4BEC
secondary
#CFE8AB
accent
#DD0886
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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