#8745BA#8745BA

#8745BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.181 H 307.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8745BA
RGBrgb(135, 69, 186)
HSLhsl(274, 46%, 50%)
HSVhsv(274, 63%, 73%)
CMYKcmyk(27.4%, 62.9%, 0%, 27.1%)
CIE-LABlab(42.69, 49.20, -50.85)
CIE-LCHlch(42.69, 70.76, 314.05°)
OKLaboklab(52.72% 0.1093 -0.1437)
OKLCHoklch(52.72% 0.181 307.3)
XYZxyz(20.9809, 12.9526, 47.8397)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745BA #78BA45
analogous
#4D45BA #8745BA #BA45B2
triadic
#8745BA #BA8745 #45BA87
tetradic
#8745BA #BA4D45 #78BA45 #45B2BA
square
#8745BA #BA4D45 #78BA45 #45B2BA
split-complementary
#8745BA #B2BA45 #45BA4D
monochromatic
#462461 #67348D #8745BA #A472CB #C19EDB

Accessibility & contrast

On white

5.85
#8745BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8745BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745BA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745BA#FFFFFF#000000##FFFFFF
##8745BA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2F65B7
Tritanopia (blue-blind)
#7F5D79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8745ba;
/* rgb */ color: rgb(135, 69, 186);
/* oklch */ color: oklch(52.7% 0.181 307.3);
Tailwind
colors: {
  custom: {
    50: '#ae7ccf',
    500: '#8745ba',
    950: '#000000',
  },
}
SCSS
$custom: #8745ba;
$custom-light: #ae7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8745ba",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 273.846,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.18057,
    "h": 307.3
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#8745BA
secondary
#AAC893
accent
#D6528B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8745BA

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

Preview Lab → · Contrast checker → · Palette generator →

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