#8745BC#8745BC

#8745BC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.183 H 306.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8745BC
RGBrgb(135, 69, 188)
HSLhsl(273, 47%, 50%)
HSVhsv(273, 63%, 74%)
CMYKcmyk(28.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(42.82, 49.67, -51.82)
CIE-LCHlch(42.82, 71.77, 313.79°)
OKLaboklab(52.86% 0.1092 -0.1465)
OKLCHoklch(52.86% 0.183 306.7)
XYZxyz(21.1950, 13.0382, 48.9673)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745BC #7ABC45
analogous
#4B45BC #8745BC #BC45B6
triadic
#8745BC #BC8745 #45BC87
tetradic
#8745BC #BC4B45 #7ABC45 #45B6BC
square
#8745BC #BC4B45 #7ABC45 #45B6BC
split-complementary
#8745BC #B6BC45 #45BC4B
monochromatic
#472463 #673490 #8745BC #A472CC #C19FDC

Accessibility & contrast

On white

5.82
#8745BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8745BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745BC#FFFFFF#000000##FFFFFF
##8745BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2C66B9
Tritanopia (blue-blind)
#7E5D7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8745bc;
/* rgb */ color: rgb(135, 69, 188);
/* oklch */ color: oklch(52.9% 0.183 306.7);
Tailwind
colors: {
  custom: {
    50: '#ae7cd1',
    500: '#8745bc',
    950: '#000000',
  },
}
SCSS
$custom: #8745bc;
$custom-light: #ae7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8745bc",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 273.277,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.18276,
    "h": 306.7
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#8745BC
secondary
#ACC994
accent
#D7518D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8745BC

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

Preview Lab → · Contrast checker → · Palette generator →

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