#8945E2#8945E2

#8945E2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.224 H 298.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8945E2
RGBrgb(137, 69, 226)
HSLhsl(266, 73%, 58%)
HSVhsv(266, 69%, 89%)
CMYKcmyk(39.4%, 69.5%, 0%, 11.4%)
CIE-LABlab(45.72, 59.23, -69.00)
CIE-LCHlch(45.72, 90.93, 310.64°)
OKLaboklab(55.83% 0.1076 -0.197)
OKLCHoklch(55.83% 0.224 298.6)
XYZxyz(26.1686, 15.0652, 73.4659)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945E2 #9EE245
analogous
#4550E2 #8945E2 #D745E2
triadic
#8945E2 #E28945 #45E289
tetradic
#8945E2 #E24550 #9EE245 #45E2D7
square
#8945E2 #E24550 #9EE245 #45E2D7
split-complementary
#8945E2 #E2D745 #50E245
monochromatic
#4E1795 #6920CA #8945E2 #AB7AEA #CCAFF3

Accessibility & contrast

On white

5.23
#8945E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8945E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945E2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945E2#FFFFFF#000000##FFFFFF
##8945E21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#746B8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8945e2;
/* rgb */ color: rgb(137, 69, 226);
/* oklch */ color: oklch(55.8% 0.224 298.6);
Tailwind
colors: {
  custom: {
    50: '#b27eec',
    500: '#8945e2',
    950: '#000000',
  },
}
SCSS
$custom: #8945e2;
$custom-light: #b27eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8945e2",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 265.987,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.22443,
    "h": 298.6
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#8945E2
secondary
#C6E1A2
accent
#F038A0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8945E2

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

Preview Lab → · Contrast checker → · Palette generator →

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