#8B5FDF#8B5FDF

#8B5FDF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.187 H 296.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8B5FDF
RGBrgb(139, 95, 223)
HSLhsl(261, 67%, 62%)
HSVhsv(261, 57%, 87%)
CMYKcmyk(37.7%, 57.4%, 0%, 12.5%)
CIE-LABlab(50.69, 45.46, -59.25)
CIE-LCHlch(50.69, 74.69, 307.50°)
OKLaboklab(59.41% 0.0823 -0.1683)
OKLCHoklch(59.41% 0.187 296.1)
XYZxyz(28.0555, 19.0006, 71.9871)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FDF #B3DF5F
analogous
#5F73DF #8B5FDF #CB5FDF
triadic
#8B5FDF #DF8B5F #5FDF8B
tetradic
#8B5FDF #DF5F73 #B3DF5F #5FDFCB
square
#8B5FDF #DF5F73 #B3DF5F #5FDFCB
split-complementary
#8B5FDF #DFCB5F #73DF5F
monochromatic
#4D21A3 #662CD5 #8B5FDF #B092E9 #D5C5F3

Accessibility & contrast

On white

4.37
#8B5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8B5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FDF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FDF#FFFFFF#000000##000000
##8B5FDF1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1779E3
Deuteranopia (green-blind)
#2C77DC
Tritanopia (blue-blind)
#777A96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5fdf;
/* rgb */ color: rgb(139, 95, 223);
/* oklch */ color: oklch(59.4% 0.187 296.1);
Tailwind
colors: {
  custom: {
    50: '#b28eea',
    500: '#8b5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fdf;
$custom-light: #b28eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fdf",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 260.625,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.18736,
    "h": 296.1
  },
  "luminance": 0.19001
}

Semantic roles & 50–950 ramp

primary
#8B5FDF
secondary
#D4E4B6
accent
#CF178F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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