#8945E6#8945E6

#8945E6 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.229 H 297.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8945E6
RGBrgb(137, 69, 230)
HSLhsl(265, 76%, 59%)
HSVhsv(265, 70%, 90%)
CMYKcmyk(40.4%, 70%, 0%, 9.8%)
CIE-LABlab(46.03, 60.21, -70.77)
CIE-LCHlch(46.03, 92.92, 310.39°)
OKLaboklab(56.14% 0.1069 -0.2022)
OKLCHoklch(56.14% 0.229 297.9)
XYZxyz(26.7239, 15.2873, 76.3903)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945E6 #A2E645
analogous
#4551E6 #8945E6 #DA45E6
triadic
#8945E6 #E68945 #45E689
tetradic
#8945E6 #E64551 #A2E645 #45E6DA
square
#8945E6 #E64551 #A2E645 #45E6DA
split-complementary
#8945E6 #E6DA45 #51E645
monochromatic
#4E159C #691CD2 #8945E6 #AB7BED #CDB1F5

Accessibility & contrast

On white

5.18
#8945E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8945E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945E6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945E6#FFFFFF#000000##FFFFFF
##8945E61.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#726D91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8945e6;
/* rgb */ color: rgb(137, 69, 230);
/* oklch */ color: oklch(56.1% 0.229 297.9);
Tailwind
colors: {
  custom: {
    50: '#b27eef',
    500: '#8945e6',
    950: '#000000',
  },
}
SCSS
$custom: #8945e6;
$custom-light: #b27eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8945e6",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 265.342,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56142,
    "c": 0.22871,
    "h": 297.9
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#8945E6
secondary
#C8E3A4
accent
#F335A3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8945E6

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

Preview Lab → · Contrast checker → · Palette generator →

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