#8745BB#8745BB

#8745BB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.182 H 307.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8745BB
RGBrgb(135, 69, 187)
HSLhsl(274, 46%, 50%)
HSVhsv(274, 63%, 73%)
CMYKcmyk(27.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(42.76, 49.43, -51.33)
CIE-LCHlch(42.76, 71.27, 313.92°)
OKLaboklab(52.79% 0.1093 -0.1451)
OKLCHoklch(52.79% 0.182 307)
XYZxyz(21.0876, 12.9952, 48.4015)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745BB #79BB45
analogous
#4C45BB #8745BB #BB45B4
triadic
#8745BB #BB8745 #45BB87
tetradic
#8745BB #BB4C45 #79BB45 #45B4BB
square
#8745BB #BB4C45 #79BB45 #45B4BB
split-complementary
#8745BB #B4BB45 #45BB4C
monochromatic
#462462 #67348F #8745BB #A472CB #C19FDC

Accessibility & contrast

On white

5.83
#8745BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8745BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745BB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745BB#FFFFFF#000000##FFFFFF
##8745BB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2E65B8
Tritanopia (blue-blind)
#7F5D7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8745bb;
/* rgb */ color: rgb(135, 69, 187);
/* oklch */ color: oklch(52.8% 0.182 307.0);
Tailwind
colors: {
  custom: {
    50: '#ae7cd0',
    500: '#8745bb',
    950: '#000000',
  },
}
SCSS
$custom: #8745bb;
$custom-light: #ae7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8745bb",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 273.559,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.18167,
    "h": 307
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#8745BB
secondary
#ABC894
accent
#D6528C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8745BB

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

Preview Lab → · Contrast checker → · Palette generator →

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