#8B45CE#8B45CE

#8B45CE is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.203 H 303.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8B45CE
RGBrgb(139, 69, 206)
HSLhsl(271, 58%, 54%)
HSVhsv(271, 67%, 81%)
CMYKcmyk(32.5%, 66.5%, 0%, 19.2%)
CIE-LABlab(44.52, 54.79, -59.50)
CIE-LCHlch(44.52, 80.88, 312.64°)
OKLaboklab(54.57% 0.1131 -0.169)
OKLCHoklch(54.57% 0.203 303.8)
XYZxyz(23.9136, 14.2015, 59.8619)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45CE #88CE45
analogous
#4745CE #8B45CE #CE45CD
triadic
#8B45CE #CE8B45 #45CE8B
tetradic
#8B45CE #CE4745 #88CE45 #45CDCE
square
#8B45CE #CE4745 #88CE45 #45CDCE
split-complementary
#8B45CE #CDCE45 #45CE47
monochromatic
#4D2079 #6C2DA9 #8B45CE #A975DB #C7A6E8

Accessibility & contrast

On white

5.47
#8B45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8B45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45CE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45CE#FFFFFF#000000##FFFFFF
##8B45CE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#1069CB
Tritanopia (blue-blind)
#7E6484
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b45ce;
/* rgb */ color: rgb(139, 69, 206);
/* oklch */ color: oklch(54.6% 0.203 303.8);
Tailwind
colors: {
  custom: {
    50: '#b27dde',
    500: '#8b45ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b45ce;
$custom-light: #b27dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45ce",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 270.657,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.20332,
    "h": 303.8
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#8B45CE
secondary
#B7D59A
accent
#E24692
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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