#8B5FD3#8B5FD3

#8B5FD3 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.173 H 298.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8B5FD3
RGBrgb(139, 95, 211)
HSLhsl(263, 57%, 60%)
HSVhsv(263, 55%, 83%)
CMYKcmyk(34.1%, 55%, 0%, 17.3%)
CIE-LABlab(49.95, 42.36, -53.62)
CIE-LCHlch(49.95, 68.33, 308.30°)
OKLaboklab(58.63% 0.0822 -0.1518)
OKLCHoklch(58.63% 0.173 298.4)
XYZxyz(26.4947, 18.3762, 63.7665)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FD3 #A7D35F
analogous
#5F6DD3 #8B5FD3 #C55FD3
triadic
#8B5FD3 #D38B5F #5FD38B
tetradic
#8B5FD3 #D35F6D #A7D35F #5FD3C5
square
#8B5FD3 #D35F6D #A7D35F #5FD3C5
split-complementary
#8B5FD3 #D3C55F #6DD35F
monochromatic
#4F2890 #6A35C0 #8B5FD3 #AE8FE0 #D1BFED

Accessibility & contrast

On white

4.49
#8B5FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8B5FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FD3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FD3#FFFFFF#000000##000000
##8B5FD31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D7
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#7B7690
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5fd3;
/* rgb */ color: rgb(139, 95, 211);
/* oklch */ color: oklch(58.6% 0.173 298.4);
Tailwind
colors: {
  custom: {
    50: '#b18ee1',
    500: '#8b5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fd3;
$custom-light: #b18ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fd3",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 262.759,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.58627,
    "c": 0.1726,
    "h": 298.4
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#8B5FD3
secondary
#CCDDB1
accent
#E048A6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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