#8A45D0#8A45D0

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

Color values

HEX#8A45D0
RGBrgb(138, 69, 208)
HSLhsl(270, 60%, 54%)
HSVhsv(270, 67%, 82%)
CMYKcmyk(33.7%, 66.8%, 0%, 18.4%)
CIE-LABlab(44.54, 55.06, -60.63)
CIE-LCHlch(44.54, 81.89, 312.24°)
OKLaboklab(54.6% 0.1115 -0.1723)
OKLCHoklch(54.6% 0.205 302.9)
XYZxyz(23.9919, 14.2136, 61.1418)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A45D0 #8BD045
analogous
#4546D0 #8A45D0 #D045D0
triadic
#8A45D0 #D08A45 #45D08A
tetradic
#8A45D0 #D04546 #8BD045 #45D0D0
square
#8A45D0 #D04546 #8BD045 #45D0D0
split-complementary
#8A45D0 #D0D045 #46D045
monochromatic
#4D1F7B #6B2CAC #8A45D0 #A976DC #C7A7E9

Accessibility & contrast

On white

5.46
#8A45D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A45D0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A45D0#FFFFFF#000000##FFFFFF
##8A45D01.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#0369CD
Tritanopia (blue-blind)
#7C6485
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a45d0;
/* rgb */ color: rgb(138, 69, 208);
/* oklch */ color: oklch(54.6% 0.205 302.9);
Tailwind
colors: {
  custom: {
    50: '#b17ddf',
    500: '#8a45d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a45d0;
$custom-light: #b17ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a45d0",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 269.784,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.20526,
    "h": 302.9
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#8A45D0
secondary
#B9D69B
accent
#E34594
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A45D0

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

Preview Lab → · Contrast checker → · Palette generator →

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