#8745BD#8745BD

#8745BD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.184 H 306.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8745BD
RGBrgb(135, 69, 189)
HSLhsl(273, 48%, 51%)
HSVhsv(273, 63%, 74%)
CMYKcmyk(28.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(42.89, 49.90, -52.30)
CIE-LCHlch(42.89, 72.28, 313.66°)
OKLaboklab(52.92% 0.1092 -0.1479)
OKLCHoklch(52.92% 0.184 306.4)
XYZxyz(21.3031, 13.0815, 49.5370)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745BD #7BBD45
analogous
#4B45BD #8745BD #BD45B7
triadic
#8745BD #BD8745 #45BD87
tetradic
#8745BD #BD4B45 #7BBD45 #45B7BD
square
#8745BD #BD4B45 #7BBD45 #45B7BD
split-complementary
#8745BD #B7BD45 #45BD4B
monochromatic
#472464 #673491 #8745BD #A472CD #C19FDD

Accessibility & contrast

On white

5.81
#8745BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8745BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745BD#FFFFFF#000000##FFFFFF
##8745BD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#7E5E7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8745bd;
/* rgb */ color: rgb(135, 69, 189);
/* oklch */ color: oklch(52.9% 0.184 306.4);
Tailwind
colors: {
  custom: {
    50: '#ae7cd2',
    500: '#8745bd',
    950: '#000000',
  },
}
SCSS
$custom: #8745bd;
$custom-light: #ae7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8745bd",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 273,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.18386,
    "h": 306.4
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8745BD

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

Preview Lab → · Contrast checker → · Palette generator →

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