#8B38C4#8B38C4

#8B38C4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.209 H 307.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8B38C4
RGBrgb(139, 56, 196)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 71%, 77%)
CMYKcmyk(29.1%, 71.4%, 0%, 23.1%)
CIE-LABlab(41.69, 58.42, -58.28)
CIE-LCHlch(41.69, 82.52, 315.07°)
OKLaboklab(52.33% 0.128 -0.1653)
OKLCHoklch(52.33% 0.209 307.7)
XYZxyz(22.0234, 12.3031, 53.4284)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38C4 #71C438
analogous
#4538C4 #8B38C4 #C438B7
triadic
#8B38C4 #C48B38 #38C48B
tetradic
#8B38C4 #C44538 #71C438 #38B7C4
square
#8B38C4 #C44538 #71C438 #38B7C4
split-complementary
#8B38C4 #B7C438 #38C445
monochromatic
#471D65 #692A94 #8B38C4 #A766D3 #C296E1

Accessibility & contrast

On white

6.07
#8B38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8B38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38C4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38C4#FFFFFF#000000##FFFFFF
##8B38C41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0A63C1
Tritanopia (blue-blind)
#82587A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b38c4;
/* rgb */ color: rgb(139, 56, 196);
/* oklch */ color: oklch(52.3% 0.209 307.7);
Tailwind
colors: {
  custom: {
    50: '#b276d7',
    500: '#8b38c4',
    950: '#000000',
  },
}
SCSS
$custom: #8b38c4;
$custom-light: #b276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38c4",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 275.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.20906,
    "h": 307.7
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#8B38C4
secondary
#A6CC8C
accent
#DF4986
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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