#8B38BE#8B38BE

#8B38BE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.203 H 309.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8B38BE
RGBrgb(139, 56, 190)
HSLhsl(277, 54%, 48%)
HSVhsv(277, 71%, 75%)
CMYKcmyk(26.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(41.27, 57.10, -55.46)
CIE-LCHlch(41.27, 79.59, 315.84°)
OKLaboklab(51.9% 0.1288 -0.157)
OKLCHoklch(51.9% 0.203 309.4)
XYZxyz(21.3540, 12.0354, 49.9034)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38BE #6BBE38
analogous
#4838BE #8B38BE #BE38AE
triadic
#8B38BE #BE8B38 #38BE8B
tetradic
#8B38BE #BE4838 #6BBE38 #38AEBE
square
#8B38BE #BE4838 #6BBE38 #38AEBE
split-complementary
#8B38BE #AEBE38 #38BE48
monochromatic
#461C5F #682A8F #8B38BE #A762D1 #C192DF

Accessibility & contrast

On white

6.16
#8B38BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B38BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38BE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38BE#FFFFFF#000000##FFFFFF
##8B38BE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#1C62BB
Tritanopia (blue-blind)
#845677
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b38be;
/* rgb */ color: rgb(139, 56, 190);
/* oklch */ color: oklch(51.9% 0.203 309.4);
Tailwind
colors: {
  custom: {
    50: '#b176d2',
    500: '#8b38be',
    950: '#000000',
  },
}
SCSS
$custom: #8b38be;
$custom-light: #b176d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38be",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 277.164,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.519,
    "c": 0.2031,
    "h": 309.4
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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