#8B5DDB#8B5DDB

#8B5DDB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.185 H 297.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8B5DDB
RGBrgb(139, 93, 219)
HSLhsl(262, 64%, 61%)
HSVhsv(262, 58%, 86%)
CMYKcmyk(36.5%, 57.5%, 0%, 14.1%)
CIE-LABlab(50.02, 45.53, -58.07)
CIE-LCHlch(50.02, 73.79, 308.10°)
OKLaboklab(58.83% 0.0847 -0.1648)
OKLCHoklch(58.83% 0.185 297.2)
XYZxyz(27.3448, 18.4317, 69.1211)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DDB #ADDB5D
analogous
#5D6EDB #8B5DDB #CA5DDB
triadic
#8B5DDB #DB8B5D #5DDB8B
tetradic
#8B5DDB #DB5D6E #ADDB5D #5DDBCA
square
#8B5DDB #DB5D6E #ADDB5D #5DDBCA
split-complementary
#8B5DDB #DBCA5D #6EDB5D
monochromatic
#4F229B #682ECD #8B5DDB #AF8FE6 #D3C1F1

Accessibility & contrast

On white

4.48
#8B5DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8B5DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DDB#FFFFFF#000000##000000
##8B5DDB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1877DF
Deuteranopia (green-blind)
#2E75D8
Tritanopia (blue-blind)
#787893
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5ddb;
/* rgb */ color: rgb(139, 93, 219);
/* oklch */ color: oklch(58.8% 0.185 297.2);
Tailwind
colors: {
  custom: {
    50: '#b18de7',
    500: '#8b5ddb',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ddb;
$custom-light: #b18de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ddb",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 261.905,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.18533,
    "h": 297.2
  },
  "luminance": 0.18432
}

Semantic roles & 50–950 ramp

primary
#8B5DDB
secondary
#D0E2B2
accent
#CB1A8B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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