#8745B8#8745B8

#8745B8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.178 H 307.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8745B8
RGBrgb(135, 69, 184)
HSLhsl(274, 45%, 50%)
HSVhsv(274, 63%, 72%)
CMYKcmyk(26.6%, 62.5%, 0%, 27.8%)
CIE-LABlab(42.56, 48.73, -49.89)
CIE-LCHlch(42.56, 69.74, 314.33°)
OKLaboklab(52.59% 0.1094 -0.1409)
OKLCHoklch(52.59% 0.178 307.8)
XYZxyz(20.7698, 12.8681, 46.7277)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745B8 #76B845
analogous
#4E45B8 #8745B8 #B845B0
triadic
#8745B8 #B88745 #45B887
tetradic
#8745B8 #B84E45 #76B845 #45B0B8
square
#8745B8 #B84E45 #76B845 #45B0B8
split-complementary
#8745B8 #B0B845 #45B84E
monochromatic
#46245F #66348B #8745B8 #A471CA #C09DDA

Accessibility & contrast

On white

5.88
#8745B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8745B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745B8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745B8#FFFFFF#000000##FFFFFF
##8745B81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0462BC
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#7F5C78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8745b8;
/* rgb */ color: rgb(135, 69, 184);
/* oklch */ color: oklch(52.6% 0.178 307.8);
Tailwind
colors: {
  custom: {
    50: '#ad7cce',
    500: '#8745b8',
    950: '#000000',
  },
}
SCSS
$custom: #8745b8;
$custom-light: #ad7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#8745b8",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 274.435,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.17837,
    "h": 307.8
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#8745B8
secondary
#A9C792
accent
#D5538A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8745B8

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

Preview Lab → · Contrast checker → · Palette generator →

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