#8945E8#8945E8

#8945E8 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.231 H 297.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8945E8
RGBrgb(137, 69, 232)
HSLhsl(265, 78%, 59%)
HSVhsv(265, 70%, 91%)
CMYKcmyk(40.9%, 70.3%, 0%, 9%)
CIE-LABlab(46.18, 60.70, -71.66)
CIE-LCHlch(46.18, 93.91, 310.27°)
OKLaboklab(56.3% 0.1065 -0.2048)
OKLCHoklch(56.3% 0.231 297.5)
XYZxyz(27.0064, 15.4003, 77.8780)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945E8 #A4E845
analogous
#4553E8 #8945E8 #DB45E8
triadic
#8945E8 #E88945 #45E889
tetradic
#8945E8 #E84553 #A4E845 #45E8DB
square
#8945E8 #E84553 #A4E845 #45E8DB
split-complementary
#8945E8 #E8DB45 #53E845
monochromatic
#4E149F #681AD5 #8945E8 #AC7BEF #CEB2F5

Accessibility & contrast

On white

5.15
#8945E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8945E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945E8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945E8#FFFFFF#000000##FFFFFF
##8945E81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#716E92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8945e8;
/* rgb */ color: rgb(137, 69, 232);
/* oklch */ color: oklch(56.3% 0.231 297.5);
Tailwind
colors: {
  custom: {
    50: '#b37ef0',
    500: '#8945e8',
    950: '#000000',
  },
}
SCSS
$custom: #8945e8;
$custom-light: #b37ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8945e8",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 265.031,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.23083,
    "h": 297.5
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#8945E8
secondary
#CAE4A4
accent
#F433A4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8945E8

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

Preview Lab → · Contrast checker → · Palette generator →

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