#8B38C5#8B38C5

#8B38C5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.210 H 307.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8B38C5
RGBrgb(139, 56, 197)
HSLhsl(275, 56%, 50%)
HSVhsv(275, 72%, 77%)
CMYKcmyk(29.4%, 71.6%, 0%, 22.7%)
CIE-LABlab(41.77, 58.65, -58.74)
CIE-LCHlch(41.77, 83.01, 314.95°)
OKLaboklab(52.41% 0.1278 -0.1667)
OKLCHoklch(52.41% 0.21 307.5)
XYZxyz(22.1376, 12.3488, 54.0298)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38C5 #72C538
analogous
#4538C5 #8B38C5 #C538B9
triadic
#8B38C5 #C58B38 #38C58B
tetradic
#8B38C5 #C54538 #72C538 #38B9C5
square
#8B38C5 #C54538 #72C538 #38B9C5
split-complementary
#8B38C5 #B9C538 #38C545
monochromatic
#481D66 #692A95 #8B38C5 #A767D4 #C296E1

Accessibility & contrast

On white

6.05
#8B38C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8B38C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38C5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38C5#FFFFFF#000000##FFFFFF
##8B38C51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#81597B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b38c5;
/* rgb */ color: rgb(139, 56, 197);
/* oklch */ color: oklch(52.4% 0.210 307.5);
Tailwind
colors: {
  custom: {
    50: '#b276d7',
    500: '#8b38c5',
    950: '#000000',
  },
}
SCSS
$custom: #8b38c5;
$custom-light: #b276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38c5",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 275.319,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.21005,
    "h": 307.5
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#8B38C5
secondary
#A7CD8C
accent
#DF4987
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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