#8B45C2#8B45C2

#8B45C2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.190 H 306.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8B45C2
RGBrgb(139, 69, 194)
HSLhsl(274, 51%, 52%)
HSVhsv(274, 64%, 76%)
CMYKcmyk(28.4%, 64.4%, 0%, 23.9%)
CIE-LABlab(43.71, 51.97, -53.85)
CIE-LCHlch(43.71, 74.84, 313.98°)
OKLaboklab(53.74% 0.1141 -0.1524)
OKLCHoklch(53.74% 0.19 306.8)
XYZxyz(22.5111, 13.6405, 52.4755)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45C2 #7CC245
analogous
#4D45C2 #8B45C2 #C245BB
triadic
#8B45C2 #C28B45 #45C28B
tetradic
#8B45C2 #C24D45 #7CC245 #45BBC2
square
#8B45C2 #C24D45 #7CC245 #45BBC2
split-complementary
#8B45C2 #BBC245 #45C24D
monochromatic
#4B236A #6B3298 #8B45C2 #A873D1 #C4A1E0

Accessibility & contrast

On white

5.63
#8B45C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8B45C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45C2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45C2#FFFFFF#000000##FFFFFF
##8B45C21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#825F7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b45c2;
/* rgb */ color: rgb(139, 69, 194);
/* oklch */ color: oklch(53.7% 0.190 306.8);
Tailwind
colors: {
  custom: {
    50: '#b17dd5',
    500: '#8b45c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b45c2;
$custom-light: #b17dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45c2",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 273.6,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.19039,
    "h": 306.8
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#8B45C2
secondary
#AECD96
accent
#DA4E8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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