#8945C4#8945C4

#8945C4 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.192 H 305.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8945C4
RGBrgb(137, 69, 196)
HSLhsl(272, 52%, 52%)
HSVhsv(272, 65%, 77%)
CMYKcmyk(30.1%, 64.8%, 0%, 23.1%)
CIE-LABlab(43.60, 52.00, -55.22)
CIE-LCHlch(43.60, 75.84, 313.28°)
OKLaboklab(53.64% 0.1113 -0.1565)
OKLCHoklch(53.64% 0.192 305.4)
XYZxyz(22.4063, 13.5603, 53.6508)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945C4 #80C445
analogous
#4A45C4 #8945C4 #C445C0
triadic
#8945C4 #C48945 #45C489
tetradic
#8945C4 #C44A45 #80C445 #45C0C4
square
#8945C4 #C44A45 #80C445 #45C0C4
split-complementary
#8945C4 #C0C445 #45C44A
monochromatic
#4A226C #6A319B #8945C4 #A673D3 #C4A2E1

Accessibility & contrast

On white

5.66
#8945C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8945C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945C4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945C4#FFFFFF#000000##FFFFFF
##8945C41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#2467C1
Tritanopia (blue-blind)
#7F607E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8945c4;
/* rgb */ color: rgb(137, 69, 196);
/* oklch */ color: oklch(53.6% 0.192 305.4);
Tailwind
colors: {
  custom: {
    50: '#b07dd7',
    500: '#8945c4',
    950: '#000000',
  },
}
SCSS
$custom: #8945c4;
$custom-light: #b07dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8945c4",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 272.126,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.19204,
    "h": 305.4
  },
  "luminance": 0.1356
}

Semantic roles & 50–950 ramp

primary
#8945C4
secondary
#B0CE97
accent
#DB4D8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8945C4

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

Preview Lab → · Contrast checker → · Palette generator →

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