#8B4BEC#8B4BEC

#8B4BEC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.228 H 296.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8B4BEC
RGBrgb(139, 75, 236)
HSLhsl(264, 81%, 61%)
HSVhsv(264, 68%, 93%)
CMYKcmyk(41.1%, 68.2%, 0%, 7.5%)
CIE-LABlab(47.72, 59.21, -71.39)
CIE-LCHlch(47.72, 92.75, 309.67°)
OKLaboklab(57.54% 0.1029 -0.204)
OKLCHoklch(57.54% 0.228 296.8)
XYZxyz(28.2999, 16.5767, 81.0492)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BEC #ACEC4B
analogous
#4B5BEC #8B4BEC #DC4BEC
triadic
#8B4BEC #EC8B4B #4BEC8B
tetradic
#8B4BEC #EC4B5B #ACEC4B #4BECDC
square
#8B4BEC #EC4B5B #ACEC4B #4BECDC
split-complementary
#8B4BEC #ECDC4B #5BEC4B
monochromatic
#4F12AB #6818E2 #8B4BEC #AF82F2 #D2BAF8

Accessibility & contrast

On white

4.87
#8B4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8B4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BEC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BEC#FFFFFF#000000##FFFFFF
##8B4BEC1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#727296
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b4bec;
/* rgb */ color: rgb(139, 75, 236);
/* oklch */ color: oklch(57.5% 0.228 296.8);
Tailwind
colors: {
  custom: {
    50: '#b482f3',
    500: '#8b4bec',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bec;
$custom-light: #b482f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bec",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 263.851,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.22844,
    "h": 296.8
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#8B4BEC
secondary
#D0E8AB
accent
#DD0889
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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