#8B38B7#8B38B7

#8B38B7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.4% C 0.196 H 311.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8B38B7
RGBrgb(139, 56, 183)
HSLhsl(279, 53%, 47%)
HSVhsv(279, 69%, 72%)
CMYKcmyk(24%, 69.4%, 0%, 28.2%)
CIE-LABlab(40.79, 55.57, -52.12)
CIE-LCHlch(40.79, 76.19, 316.84°)
OKLaboklab(51.41% 0.1296 -0.1472)
OKLCHoklch(51.41% 0.196 311.4)
XYZxyz(20.6073, 11.7367, 45.9704)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38B7 #64B738
analogous
#4C38B7 #8B38B7 #B738A3
triadic
#8B38B7 #B78B38 #38B78B
tetradic
#8B38B7 #B74C38 #64B738 #38A3B7
square
#8B38B7 #B74C38 #64B738 #38A3B7
split-complementary
#8B38B7 #A3B738 #38B74C
monochromatic
#441B59 #672A88 #8B38B7 #A75ECE #C18DDC

Accessibility & contrast

On white

6.27
#8B38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B38B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38B7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38B7#FFFFFF#000000##FFFFFF
##8B38B71.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2862B4
Tritanopia (blue-blind)
#855373
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b38b7;
/* rgb */ color: rgb(139, 56, 183);
/* oklch */ color: oklch(51.4% 0.196 311.4);
Tailwind
colors: {
  custom: {
    50: '#b175cd',
    500: '#8b38b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b38b7;
$custom-light: #b175cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38b7",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 279.213,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.19617,
    "h": 311.4
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#8B38B7
secondary
#9BC784
accent
#DD4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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