#8945C2#8945C2

#8945C2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.190 H 306.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8945C2
RGBrgb(137, 69, 194)
HSLhsl(273, 51%, 52%)
HSVhsv(273, 64%, 76%)
CMYKcmyk(29.4%, 64.4%, 0%, 23.9%)
CIE-LABlab(43.46, 51.53, -54.27)
CIE-LCHlch(43.46, 74.83, 313.52°)
OKLaboklab(53.5% 0.1115 -0.1537)
OKLCHoklch(53.5% 0.19 306)
XYZxyz(22.1802, 13.4698, 52.4599)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945C2 #7EC245
analogous
#4B45C2 #8945C2 #C245BD
triadic
#8945C2 #C28945 #45C289
tetradic
#8945C2 #C24B45 #7EC245 #45BDC2
square
#8945C2 #C24B45 #7EC245 #45BDC2
split-complementary
#8945C2 #BDC245 #45C24B
monochromatic
#49236A #693298 #8945C2 #A673D1 #C3A1E0

Accessibility & contrast

On white

5.68
#8945C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8945C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945C2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945C2#FFFFFF#000000##FFFFFF
##8945C21.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#7F5F7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8945c2;
/* rgb */ color: rgb(137, 69, 194);
/* oklch */ color: oklch(53.5% 0.190 306.0);
Tailwind
colors: {
  custom: {
    50: '#b07dd5',
    500: '#8945c2',
    950: '#000000',
  },
}
SCSS
$custom: #8945c2;
$custom-light: #b07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8945c2",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 272.64,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.535,
    "c": 0.18986,
    "h": 306
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#8945C2
secondary
#AFCD96
accent
#DA4E8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8945C2

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

Preview Lab → · Contrast checker → · Palette generator →

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