#8B43D2#8B43D2

#8B43D2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.210 H 303.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8B43D2
RGBrgb(139, 67, 210)
HSLhsl(270, 61%, 54%)
HSVhsv(270, 68%, 82%)
CMYKcmyk(33.8%, 68.1%, 0%, 17.6%)
CIE-LABlab(44.46, 56.69, -61.90)
CIE-LCHlch(44.46, 83.94, 312.48°)
OKLaboklab(54.62% 0.1147 -0.176)
OKLCHoklch(54.62% 0.21 303.1)
XYZxyz(24.2848, 14.1564, 62.4133)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B43D2 #8AD243
analogous
#4443D2 #8B43D2 #D243D1
triadic
#8B43D2 #D28B43 #43D28B
tetradic
#8B43D2 #D24443 #8AD243 #43D1D2
square
#8B43D2 #D24443 #8AD243 #43D1D2
split-complementary
#8B43D2 #D1D243 #43D244
monochromatic
#4E1E7D #6C2AAE #8B43D2 #A974DE #C8A6EA

Accessibility & contrast

On white

5.48
#8B43D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8B43D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B43D2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B43D2#FFFFFF#000000##FFFFFF
##8B43D21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#7D6485
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b43d2;
/* rgb */ color: rgb(139, 67, 210);
/* oklch */ color: oklch(54.6% 0.210 303.1);
Tailwind
colors: {
  custom: {
    50: '#b27ce1',
    500: '#8b43d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b43d2;
$custom-light: #b27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b43d2",
  "rgb": {
    "r": 139,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 270.21,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.21012,
    "h": 303.1
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#8B43D2
secondary
#B8D79A
accent
#E44393
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B43D2

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

Preview Lab → · Contrast checker → · Palette generator →

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