#8B4CE5#8B4CE5

#8B4CE5 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.220 H 297.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8B4CE5
RGBrgb(139, 76, 229)
HSLhsl(265, 75%, 60%)
HSVhsv(265, 67%, 90%)
CMYKcmyk(39.3%, 66.8%, 0%, 10.2%)
CIE-LABlab(47.38, 56.97, -67.99)
CIE-LCHlch(47.38, 88.70, 309.96°)
OKLaboklab(57.14% 0.1029 -0.194)
OKLCHoklch(57.14% 0.22 297.9)
XYZxyz(27.3711, 16.3146, 75.8205)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CE5 #A6E54C
analogous
#4C5AE5 #8B4CE5 #D84CE5
triadic
#8B4CE5 #E58B4C #4CE58B
tetradic
#8B4CE5 #E54C5A #A6E54C #4CE5D8
square
#8B4CE5 #E54C5A #A6E54C #4CE5D8
split-complementary
#8B4CE5 #E5D84C #5AE54C
monochromatic
#4F179F #6A1FD5 #8B4CE5 #AE81ED #D0B7F5

Accessibility & contrast

On white

4.93
#8B4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8B4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CE5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CE5#FFFFFF#000000##FFFFFF
##8B4CE51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#757092
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4ce5;
/* rgb */ color: rgb(139, 76, 229);
/* oklch */ color: oklch(57.1% 0.220 297.9);
Tailwind
colors: {
  custom: {
    50: '#b382ee',
    500: '#8b4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ce5;
$custom-light: #b382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ce5",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 264.706,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.21957,
    "h": 297.9
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#8B4CE5
secondary
#CCE4A9
accent
#F137A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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