#8945BF#8945BF

#8945BF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.187 H 306.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8945BF
RGBrgb(137, 69, 191)
HSLhsl(273, 49%, 51%)
HSVhsv(273, 64%, 75%)
CMYKcmyk(28.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(43.27, 50.82, -52.84)
CIE-LCHlch(43.27, 73.31, 313.89°)
OKLaboklab(53.3% 0.1117 -0.1495)
OKLCHoklch(53.3% 0.187 306.8)
XYZxyz(21.8466, 13.3364, 50.7034)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945BF #7BBF45
analogous
#4C45BF #8945BF #BF45B8
triadic
#8945BF #BF8945 #45BF89
tetradic
#8945BF #BF4C45 #7BBF45 #45B8BF
square
#8945BF #BF4C45 #7BBF45 #45B8BF
split-complementary
#8945BF #B8BF45 #45BF4C
monochromatic
#492366 #693394 #8945BF #A673CF #C3A0DE

Accessibility & contrast

On white

5.73
#8945BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8945BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945BF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945BF#FFFFFF#000000##FFFFFF
##8945BF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2B67BC
Tritanopia (blue-blind)
#805E7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8945bf;
/* rgb */ color: rgb(137, 69, 191);
/* oklch */ color: oklch(53.3% 0.187 306.8);
Tailwind
colors: {
  custom: {
    50: '#af7dd3',
    500: '#8945bf',
    950: '#000000',
  },
}
SCSS
$custom: #8945bf;
$custom-light: #af7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8945bf",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 273.443,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.1866,
    "h": 306.8
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

primary
#8945BF
secondary
#ADCB95
accent
#D84F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8945BF

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

Preview Lab → · Contrast checker → · Palette generator →

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