#8B5FC0#8B5FC0

#8B5FC0 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.149 H 303.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8B5FC0
RGBrgb(139, 95, 192)
HSLhsl(267, 43%, 56%)
HSVhsv(267, 51%, 75%)
CMYKcmyk(27.6%, 50.5%, 0%, 24.7%)
CIE-LABlab(48.86, 37.57, -44.46)
CIE-LCHlch(48.86, 58.21, 310.20°)
OKLaboklab(57.47% 0.081 -0.125)
OKLCHoklch(57.47% 0.149 303)
XYZxyz(24.2520, 17.4792, 51.9551)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FC0 #94C05F
analogous
#5F64C0 #8B5FC0 #BC5FC0
triadic
#8B5FC0 #C08B5F #5FC08B
tetradic
#8B5FC0 #C05F64 #94C05F #5FC0BC
square
#8B5FC0 #C05F64 #94C05F #5FC0BC
split-complementary
#8B5FC0 #C0BC5F #64C05F
monochromatic
#4F2F76 #6C40A2 #8B5FC0 #AB8BD1 #CBB7E3

Accessibility & contrast

On white

4.67
#8B5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8B5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5FC0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FC0#FFFFFF#000000##FFFFFF
##8B5FC01.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4073C3
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#817187
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5fc0;
/* rgb */ color: rgb(139, 95, 192);
/* oklch */ color: oklch(57.5% 0.149 303.0);
Tailwind
colors: {
  custom: {
    50: '#af8dd3',
    500: '#8b5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fc0;
$custom-light: #af8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fc0",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 267.216,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.14892,
    "h": 303
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#8B5FC0
secondary
#BFD1A9
accent
#D3559A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8B5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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