#8B38C2#8B38C2

#8B38C2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.207 H 308.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B38C2
RGBrgb(139, 56, 194)
HSLhsl(276, 55%, 49%)
HSVhsv(276, 71%, 76%)
CMYKcmyk(28.4%, 71.1%, 0%, 23.9%)
CIE-LABlab(41.55, 57.98, -57.34)
CIE-LCHlch(41.55, 81.54, 315.32°)
OKLaboklab(52.19% 0.1283 -0.1626)
OKLCHoklch(52.19% 0.207 308.3)
XYZxyz(21.7972, 12.2127, 52.2375)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38C2 #6FC238
analogous
#4638C2 #8B38C2 #C238B4
triadic
#8B38C2 #C28B38 #38C28B
tetradic
#8B38C2 #C24638 #6FC238 #38B4C2
square
#8B38C2 #C24638 #6FC238 #38B4C2
split-complementary
#8B38C2 #B4C238 #38C246
monochromatic
#471D63 #692A93 #8B38C2 #A765D2 #C294E0

Accessibility & contrast

On white

6.10
#8B38C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8B38C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38C2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38C2#FFFFFF#000000##FFFFFF
##8B38C21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#1263BF
Tritanopia (blue-blind)
#825779
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b38c2;
/* rgb */ color: rgb(139, 56, 194);
/* oklch */ color: oklch(52.2% 0.207 308.3);
Tailwind
colors: {
  custom: {
    50: '#b276d5',
    500: '#8b38c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b38c2;
$custom-light: #b276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38c2",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 276.087,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52187,
    "c": 0.20707,
    "h": 308.3
  },
  "luminance": 0.12212
}

Semantic roles & 50–950 ramp

primary
#8B38C2
secondary
#A4CB8A
accent
#DF4985
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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