#8B38BD#8B38BD

#8B38BD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.202 H 309.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8B38BD
RGBrgb(139, 56, 189)
HSLhsl(277, 54%, 48%)
HSVhsv(277, 70%, 74%)
CMYKcmyk(26.5%, 70.4%, 0%, 25.9%)
CIE-LABlab(41.20, 56.88, -54.98)
CIE-LCHlch(41.20, 79.11, 315.97°)
OKLaboklab(51.83% 0.1289 -0.1556)
OKLCHoklch(51.83% 0.202 309.6)
XYZxyz(21.2451, 11.9919, 49.3297)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38BD #6ABD38
analogous
#4938BD #8B38BD #BD38AC
triadic
#8B38BD #BD8B38 #38BD8B
tetradic
#8B38BD #BD4938 #6ABD38 #38ACBD
square
#8B38BD #BD4938 #6ABD38 #38ACBD
split-complementary
#8B38BD #ACBD38 #38BD49
monochromatic
#461C5F #682A8E #8B38BD #A762D0 #C191DE

Accessibility & contrast

On white

6.18
#8B38BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8B38BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38BD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38BD#FFFFFF#000000##FFFFFF
##8B38BD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#845577
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b38bd;
/* rgb */ color: rgb(139, 56, 189);
/* oklch */ color: oklch(51.8% 0.202 309.6);
Tailwind
colors: {
  custom: {
    50: '#b176d2',
    500: '#8b38bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b38bd;
$custom-light: #b176d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38bd",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 277.444,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.20211,
    "h": 309.6
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#8B38BD
secondary
#A0C987
accent
#DE4A82
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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