#8745AC#8745AC

#8745AC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.165 H 311.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8745AC
RGBrgb(135, 69, 172)
HSLhsl(278, 43%, 47%)
HSVhsv(278, 60%, 67%)
CMYKcmyk(21.5%, 59.9%, 0%, 32.5%)
CIE-LABlab(41.82, 45.98, -44.00)
CIE-LCHlch(41.82, 63.64, 316.26°)
OKLaboklab(51.81% 0.1096 -0.1236)
OKLCHoklch(51.81% 0.165 311.5)
XYZxyz(19.5648, 12.3861, 40.3818)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745AC #6AAC45
analogous
#5445AC #8745AC #AC459D
triadic
#8745AC #AC8745 #45AC87
tetradic
#8745AC #AC5445 #6AAC45 #459DAC
square
#8745AC #AC5445 #6AAC45 #459DAC
split-complementary
#8745AC #9DAC45 #45AC54
monochromatic
#422255 #653380 #8745AC #A46BC4 #BF96D5

Accessibility & contrast

On white

6.04
#8745AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8745AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745AC#FFFFFF#000000##FFFFFF
##8745AC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#3D64AA
Tritanopia (blue-blind)
#835872
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8745ac;
/* rgb */ color: rgb(135, 69, 172);
/* oklch */ color: oklch(51.8% 0.165 311.5);
Tailwind
colors: {
  custom: {
    50: '#ad7cc5',
    500: '#8745ac',
    950: '#000000',
  },
}
SCSS
$custom: #8745ac;
$custom-light: #ad7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8745ac",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 278.447,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.16519,
    "h": 311.5
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#8745AC
secondary
#9FC18C
accent
#D35582
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8745AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8745AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva