#8945D4#8945D4

#8945D4 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.209 H 301.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8945D4
RGBrgb(137, 69, 212)
HSLhsl(269, 62%, 55%)
HSVhsv(269, 67%, 83%)
CMYKcmyk(35.4%, 67.5%, 0%, 16.9%)
CIE-LABlab(44.70, 55.82, -62.67)
CIE-LCHlch(44.70, 83.92, 311.69°)
OKLaboklab(54.78% 0.1097 -0.1784)
OKLCHoklch(54.78% 0.209 301.6)
XYZxyz(24.3255, 14.3280, 63.7586)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945D4 #90D445
analogous
#4549D4 #8945D4 #D045D4
triadic
#8945D4 #D48945 #45D489
tetradic
#8945D4 #D44549 #90D445 #45D4D0
square
#8945D4 #D44549 #90D445 #45D4D0
split-complementary
#8945D4 #D4D045 #49D445
monochromatic
#4D1E81 #6B29B3 #8945D4 #A977DF #C8A8EB

Accessibility & contrast

On white

5.43
#8945D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8945D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945D4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945D4#FFFFFF#000000##FFFFFF
##8945D41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#796687
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8945d4;
/* rgb */ color: rgb(137, 69, 212);
/* oklch */ color: oklch(54.8% 0.209 301.6);
Tailwind
colors: {
  custom: {
    50: '#b17de2',
    500: '#8945d4',
    950: '#000000',
  },
}
SCSS
$custom: #8945d4;
$custom-light: #b17de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8945d4",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 268.531,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.20938,
    "h": 301.6
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#8945D4
secondary
#BCD89C
accent
#E64298
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8945D4

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

Preview Lab → · Contrast checker → · Palette generator →

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