#8B45C8#8B45C8

#8B45C8 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.197 H 305.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8B45C8
RGBrgb(139, 69, 200)
HSLhsl(272, 54%, 53%)
HSVhsv(272, 66%, 78%)
CMYKcmyk(30.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(44.11, 53.37, -56.69)
CIE-LCHlch(44.11, 77.86, 313.27°)
OKLaboklab(54.15% 0.1137 -0.1607)
OKLCHoklch(54.15% 0.197 305.3)
XYZxyz(23.1986, 13.9155, 56.0962)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45C8 #82C845
analogous
#4945C8 #8B45C8 #C845C4
triadic
#8B45C8 #C88B45 #45C88B
tetradic
#8B45C8 #C84945 #82C845 #45C4C8
square
#8B45C8 #C84945 #82C845 #45C4C8
split-complementary
#8B45C8 #C4C845 #45C849
monochromatic
#4C2171 #6C2FA0 #8B45C8 #A874D6 #C6A3E4

Accessibility & contrast

On white

5.55
#8B45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8B45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45C8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45C8#FFFFFF#000000##FFFFFF
##8B45C81.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#2068C5
Tritanopia (blue-blind)
#806181
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b45c8;
/* rgb */ color: rgb(139, 69, 200);
/* oklch */ color: oklch(54.1% 0.197 305.3);
Tailwind
colors: {
  custom: {
    50: '#b17dd9',
    500: '#8b45c8',
    950: '#000000',
  },
}
SCSS
$custom: #8b45c8;
$custom-light: #b17dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45c8",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 272.061,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.19686,
    "h": 305.3
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#8B45C8
secondary
#B2D198
accent
#DE4A8F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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