#8B38CF#8B38CF

#8B38CF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.220 H 305.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8B38CF
RGBrgb(139, 56, 207)
HSLhsl(273, 61%, 52%)
HSVhsv(273, 73%, 81%)
CMYKcmyk(32.9%, 72.9%, 0%, 18.8%)
CIE-LABlab(42.49, 60.89, -63.36)
CIE-LCHlch(42.49, 87.88, 313.86°)
OKLaboklab(53.15% 0.1261 -0.1803)
OKLCHoklch(53.15% 0.22 305)
XYZxyz(23.3216, 12.8224, 60.2657)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38CF #7CCF38
analogous
#4038CF #8B38CF #CF38C8
triadic
#8B38CF #CF8B38 #38CF8B
tetradic
#8B38CF #CF4038 #7CCF38 #38C8CF
square
#8B38CF #CF4038 #7CCF38 #38C8CF
split-complementary
#8B38CF #C8CF38 #38CF40
monochromatic
#4B1B71 #6B27A3 #8B38CF #A869DB #C49BE7

Accessibility & contrast

On white

5.89
#8B38CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8B38CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38CF#FFFFFF#000000##FFFFFF
##8B38CF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#7E5D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b38cf;
/* rgb */ color: rgb(139, 56, 207);
/* oklch */ color: oklch(53.2% 0.220 305.0);
Tailwind
colors: {
  custom: {
    50: '#b276df',
    500: '#8b38cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b38cf;
$custom-light: #b276df;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38cf",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 272.98,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.21998,
    "h": 305
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#8B38CF
secondary
#AED390
accent
#E4448C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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