#8B38CD#8B38CD

#8B38CD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.218 H 305.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8B38CD
RGBrgb(139, 56, 205)
HSLhsl(273, 60%, 51%)
HSVhsv(273, 73%, 80%)
CMYKcmyk(32.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(42.35, 60.44, -62.44)
CIE-LCHlch(42.35, 86.90, 314.07°)
OKLaboklab(53% 0.1265 -0.1776)
OKLCHoklch(53% 0.218 305.5)
XYZxyz(23.0786, 12.7253, 58.9862)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38CD #7ACD38
analogous
#4038CD #8B38CD #CD38C4
triadic
#8B38CD #CD8B38 #38CD8B
tetradic
#8B38CD #CD4038 #7ACD38 #38C4CD
square
#8B38CD #CD4038 #7ACD38 #38C4CD
split-complementary
#8B38CD #C4CD38 #38CD40
monochromatic
#4A1C6F #6B28A0 #8B38CD #A869D9 #C49AE6

Accessibility & contrast

On white

5.92
#8B38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8B38CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38CD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38CD#FFFFFF#000000##FFFFFF
##8B38CD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#7F5C80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b38cd;
/* rgb */ color: rgb(139, 56, 205);
/* oklch */ color: oklch(53.0% 0.218 305.5);
Tailwind
colors: {
  custom: {
    50: '#b276dd',
    500: '#8b38cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b38cd;
$custom-light: #b276dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38cd",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 273.423,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.21799,
    "h": 305.5
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#8B38CD
secondary
#ADD18F
accent
#E3458B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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