#8945D5#8945D5

#8945D5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.210 H 301.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8945D5
RGBrgb(137, 69, 213)
HSLhsl(268, 63%, 55%)
HSVhsv(268, 68%, 84%)
CMYKcmyk(35.7%, 67.6%, 0%, 16.5%)
CIE-LABlab(44.77, 56.06, -63.13)
CIE-LCHlch(44.77, 84.42, 311.61°)
OKLaboklab(54.85% 0.1095 -0.1797)
OKLCHoklch(54.85% 0.21 301.4)
XYZxyz(24.4520, 14.3786, 64.4250)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945D5 #91D545
analogous
#4549D5 #8945D5 #D145D5
triadic
#8945D5 #D58945 #45D589
tetradic
#8945D5 #D54549 #91D545 #45D5D1
square
#8945D5 #D54549 #91D545 #45D5D1
split-complementary
#8945D5 #D5D145 #49D545
monochromatic
#4D1D82 #6B29B4 #8945D5 #A977E0 #C8A9EC

Accessibility & contrast

On white

5.42
#8945D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8945D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945D5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945D5#FFFFFF#000000##FFFFFF
##8945D51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#796688
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8945d5;
/* rgb */ color: rgb(137, 69, 213);
/* oklch */ color: oklch(54.9% 0.210 301.4);
Tailwind
colors: {
  custom: {
    50: '#b17de3',
    500: '#8945d5',
    950: '#000000',
  },
}
SCSS
$custom: #8945d5;
$custom-light: #b17de3;
$custom-dark: #000000;
JSON
{
  "hex": "#8945d5",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 268.333,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.21047,
    "h": 301.4
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#8945D5
secondary
#BDD99D
accent
#E64298
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8945D5

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

Preview Lab → · Contrast checker → · Palette generator →

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