#8745BF#8745BF

#8745BF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.186 H 305.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8745BF
RGBrgb(135, 69, 191)
HSLhsl(272, 49%, 51%)
HSVhsv(272, 64%, 75%)
CMYKcmyk(29.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(43.02, 50.37, -53.25)
CIE-LCHlch(43.02, 73.30, 313.41°)
OKLaboklab(53.06% 0.109 -0.1508)
OKLCHoklch(53.06% 0.186 305.9)
XYZxyz(21.5217, 13.1689, 50.6882)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745BF #7DBF45
analogous
#4A45BF #8745BF #BF45BA
triadic
#8745BF #BF8745 #45BF87
tetradic
#8745BF #BF4A45 #7DBF45 #45BABF
square
#8745BF #BF4A45 #7DBF45 #45BABF
split-complementary
#8745BF #BABF45 #45BF4A
monochromatic
#482366 #673394 #8745BF #A473CF #C2A0DE

Accessibility & contrast

On white

5.78
#8745BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8745BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745BF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745BF#FFFFFF#000000##FFFFFF
##8745BF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#7D5F7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8745bf;
/* rgb */ color: rgb(135, 69, 191);
/* oklch */ color: oklch(53.1% 0.186 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae7dd3',
    500: '#8745bf',
    950: '#000000',
  },
}
SCSS
$custom: #8745bf;
$custom-light: #ae7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8745bf",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 272.459,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.18606,
    "h": 305.9
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#8745BF
secondary
#AECB95
accent
#D84F8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8745BF

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

Preview Lab → · Contrast checker → · Palette generator →

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