#8B4CE3#8B4CE3

#8B4CE3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.217 H 298.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B4CE3
RGBrgb(139, 76, 227)
HSLhsl(265, 73%, 59%)
HSVhsv(265, 67%, 89%)
CMYKcmyk(38.8%, 66.5%, 0%, 11%)
CIE-LABlab(47.24, 56.48, -67.09)
CIE-LCHlch(47.24, 87.70, 310.09°)
OKLaboklab(56.99% 0.1032 -0.1913)
OKLCHoklch(56.99% 0.217 298.3)
XYZxyz(27.0935, 16.2035, 74.3583)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CE3 #A4E34C
analogous
#4C59E3 #8B4CE3 #D74CE3
triadic
#8B4CE3 #E38B4C #4CE38B
tetradic
#8B4CE3 #E34C59 #A4E34C #4CE3D7
square
#8B4CE3 #E34C59 #A4E34C #4CE3D7
split-complementary
#8B4CE3 #E3D74C #59E34C
monochromatic
#4F189C #6A21D1 #8B4CE3 #AD81EB #D0B6F4

Accessibility & contrast

On white

4.95
#8B4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8B4CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CE3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CE3#FFFFFF#000000##FFFFFF
##8B4CE31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#766F91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4ce3;
/* rgb */ color: rgb(139, 76, 227);
/* oklch */ color: oklch(57.0% 0.217 298.3);
Tailwind
colors: {
  custom: {
    50: '#b382ed',
    500: '#8b4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ce3;
$custom-light: #b382ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ce3",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 265.033,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.21736,
    "h": 298.3
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#8B4CE3
secondary
#CAE3A8
accent
#F038A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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