#8A45BE#8A45BE

#8A45BE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.186 H 307.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A45BE
RGBrgb(138, 69, 190)
HSLhsl(274, 48%, 51%)
HSVhsv(274, 64%, 75%)
CMYKcmyk(27.4%, 63.7%, 0%, 25.5%)
CIE-LABlab(43.33, 50.82, -52.15)
CIE-LCHlch(43.33, 72.82, 314.26°)
OKLaboklab(53.35% 0.1131 -0.1474)
OKLCHoklch(53.35% 0.186 307.5)
XYZxyz(21.9017, 13.3775, 50.1335)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A45BE #79BE45
analogous
#4D45BE #8A45BE #BE45B5
triadic
#8A45BE #BE8A45 #45BE8A
tetradic
#8A45BE #BE4D45 #79BE45 #45B5BE
square
#8A45BE #BE4D45 #79BE45 #45B5BE
split-complementary
#8A45BE #B5BE45 #45BE4D
monochromatic
#492365 #6A3393 #8A45BE #A772CE #C3A0DE

Accessibility & contrast

On white

5.71
#8A45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A45BE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A45BE#FFFFFF#000000##FFFFFF
##8A45BE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#825E7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a45be;
/* rgb */ color: rgb(138, 69, 190);
/* oklch */ color: oklch(53.3% 0.186 307.5);
Tailwind
colors: {
  custom: {
    50: '#b07dd2',
    500: '#8a45be',
    950: '#000000',
  },
}
SCSS
$custom: #8a45be;
$custom-light: #b07dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a45be",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 274.215,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.18579,
    "h": 307.5
  },
  "luminance": 0.13377
}

Semantic roles & 50–950 ramp

primary
#8A45BE
secondary
#ACCA95
accent
#D8508A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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