#8945D3#8945D3

#8945D3 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.208 H 301.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8945D3
RGBrgb(137, 69, 211)
HSLhsl(269, 62%, 55%)
HSVhsv(269, 67%, 83%)
CMYKcmyk(35.1%, 67.3%, 0%, 17.3%)
CIE-LABlab(44.63, 55.57, -62.21)
CIE-LCHlch(44.63, 83.42, 311.78°)
OKLaboklab(54.71% 0.1098 -0.177)
OKLCHoklch(54.71% 0.208 301.8)
XYZxyz(24.1997, 14.2777, 63.0963)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945D3 #8FD345
analogous
#4548D3 #8945D3 #D045D3
triadic
#8945D3 #D38945 #45D389
tetradic
#8945D3 #D34548 #8FD345 #45D3D0
square
#8945D3 #D34548 #8FD345 #45D3D0
split-complementary
#8945D3 #D3D045 #48D345
monochromatic
#4D1E7F #6B2AB1 #8945D3 #A876DF #C8A8EA

Accessibility & contrast

On white

5.45
#8945D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8945D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945D3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945D3#FFFFFF#000000##FFFFFF
##8945D31.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#7A6686
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8945d3;
/* rgb */ color: rgb(137, 69, 211);
/* oklch */ color: oklch(54.7% 0.208 301.8);
Tailwind
colors: {
  custom: {
    50: '#b17de1',
    500: '#8945d3',
    950: '#000000',
  },
}
SCSS
$custom: #8945d3;
$custom-light: #b17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8945d3",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 268.732,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.2083,
    "h": 301.8
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#8945D3
secondary
#BBD89C
accent
#E54397
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8945D3

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

Preview Lab → · Contrast checker → · Palette generator →

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