#8945BE#8945BE

#8945BE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.186 H 307.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8945BE
RGBrgb(137, 69, 190)
HSLhsl(274, 48%, 51%)
HSVhsv(274, 64%, 75%)
CMYKcmyk(27.9%, 63.7%, 0%, 25.5%)
CIE-LABlab(43.20, 50.59, -52.36)
CIE-LCHlch(43.20, 72.81, 314.02°)
OKLaboklab(53.23% 0.1118 -0.1481)
OKLCHoklch(53.23% 0.186 307)
XYZxyz(21.7370, 13.2926, 50.1258)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945BE #7ABE45
analogous
#4C45BE #8945BE #BE45B6
triadic
#8945BE #BE8945 #45BE89
tetradic
#8945BE #BE4C45 #7ABE45 #45B6BE
square
#8945BE #BE4C45 #7ABE45 #45B6BE
split-complementary
#8945BE #B6BE45 #45BE4C
monochromatic
#482365 #693393 #8945BE #A672CE #C3A0DE

Accessibility & contrast

On white

5.74
#8945BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8945BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945BE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945BE#FFFFFF#000000##FFFFFF
##8945BE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2D67BB
Tritanopia (blue-blind)
#805E7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8945be;
/* rgb */ color: rgb(137, 69, 190);
/* oklch */ color: oklch(53.2% 0.186 307.0);
Tailwind
colors: {
  custom: {
    50: '#af7dd2',
    500: '#8945be',
    950: '#000000',
  },
}
SCSS
$custom: #8945be;
$custom-light: #af7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8945be",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 273.719,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.18551,
    "h": 307
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#8945BE
secondary
#ACCA95
accent
#D8508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8945BE

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

Preview Lab → · Contrast checker → · Palette generator →

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