#8B4CEB#8B4CEB

#8B4CEB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.226 H 296.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8B4CEB
RGBrgb(139, 76, 235)
HSLhsl(264, 80%, 61%)
HSVhsv(264, 68%, 92%)
CMYKcmyk(40.9%, 67.7%, 0%, 7.8%)
CIE-LABlab(47.82, 58.48, -70.66)
CIE-LCHlch(47.82, 91.72, 309.61°)
OKLaboklab(57.59% 0.102 -0.2018)
OKLCHoklch(57.59% 0.226 296.8)
XYZxyz(28.2234, 16.6555, 80.3090)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CEB #ACEB4C
analogous
#4C5CEB #8B4CEB #DB4CEB
triadic
#8B4CEB #EB8B4C #4CEB8B
tetradic
#8B4CEB #EB4C5C #ACEB4C #4CEBDB
square
#8B4CEB #EB4C5C #ACEB4C #4CEBDB
split-complementary
#8B4CEB #EBDB4C #5CEB4C
monochromatic
#4F13AA #6819E1 #8B4CEB #AF83F1 #D2BAF7

Accessibility & contrast

On white

4.85
#8B4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8B4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CEB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CEB#FFFFFF#000000##FFFFFF
##8B4CEB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#737296
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b4ceb;
/* rgb */ color: rgb(139, 76, 235);
/* oklch */ color: oklch(57.6% 0.226 296.8);
Tailwind
colors: {
  custom: {
    50: '#b482f2',
    500: '#8b4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ceb;
$custom-light: #b482f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ceb",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 263.774,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57591,
    "c": 0.22617,
    "h": 296.8
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

primary
#8B4CEB
secondary
#D0E7AB
accent
#DC0989
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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