#8B38BF#8B38BF

#8B38BF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.204 H 309.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B38BF
RGBrgb(139, 56, 191)
HSLhsl(277, 55%, 48%)
HSVhsv(277, 71%, 75%)
CMYKcmyk(27.2%, 70.7%, 0%, 25.1%)
CIE-LABlab(41.34, 57.32, -55.93)
CIE-LCHlch(41.34, 80.08, 315.70°)
OKLaboklab(51.97% 0.1287 -0.1584)
OKLCHoklch(51.97% 0.204 309.1)
XYZxyz(21.4637, 12.0793, 50.4810)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38BF #6CBF38
analogous
#4738BF #8B38BF #BF38AF
triadic
#8B38BF #BF8B38 #38BF8B
tetradic
#8B38BF #BF4738 #6CBF38 #38AFBF
square
#8B38BF #BF4738 #6CBF38 #38AFBF
split-complementary
#8B38BF #AFBF38 #38BF47
monochromatic
#461C60 #692A90 #8B38BF #A763D1 #C292DF

Accessibility & contrast

On white

6.15
#8B38BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8B38BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38BF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38BF#FFFFFF#000000##FFFFFF
##8B38BF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#1A63BC
Tritanopia (blue-blind)
#835678
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b38bf;
/* rgb */ color: rgb(139, 56, 191);
/* oklch */ color: oklch(52.0% 0.204 309.1);
Tailwind
colors: {
  custom: {
    50: '#b176d3',
    500: '#8b38bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b38bf;
$custom-light: #b176d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38bf",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 276.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.2041,
    "h": 309.1
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#8B38BF
secondary
#A2CA89
accent
#DE4A83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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