#945F8D#945F8D

#945F8D is a mid, moderate purple. Relative luminance 0.164; OKLCH L 55.9% C 0.094 H 331.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#945F8D
RGBrgb(148, 95, 141)
HSLhsl(308, 22%, 48%)
HSVhsv(308, 36%, 58%)
CMYKcmyk(0%, 35.8%, 4.7%, 42%)
CIE-LABlab(47.50, 29.10, -16.55)
CIE-LCHlch(47.50, 33.48, 330.37°)
OKLaboklab(55.9% 0.0824 -0.0446)
OKLCHoklch(55.9% 0.094 331.5)
XYZxyz(21.1124, 16.4044, 27.2484)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945F8D #5F9466
analogous
#815F94 #945F8D #945F72
triadic
#945F8D #8D945F #5F8D94
tetradic
#945F8D #94815F #5F9466 #5F7294
square
#945F8D #94815F #5F9466 #5F7294
split-complementary
#945F8D #72945F #5F9481
monochromatic
#492F46 #6F4769 #945F8D #AF82A9 #C6A7C2

Accessibility & contrast

On white

4.91
#945F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#945F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945F8D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945F8D#FFFFFF#000000##FFFFFF
##945F8D1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8F
Deuteranopia (green-blind)
#6B738B
Tritanopia (blue-blind)
#986270
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #945f8d;
/* rgb */ color: rgb(148, 95, 141);
/* oklch */ color: oklch(55.9% 0.094 331.5);
Tailwind
colors: {
  custom: {
    50: '#b48dae',
    500: '#945f8d',
    950: '#000000',
  },
}
SCSS
$custom: #945f8d;
$custom-light: #b48dae;
$custom-dark: #000000;
JSON
{
  "hex": "#945f8d",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 307.925,
    "s": 21.811,
    "l": 47.647
  },
  "oklch": {
    "l": 0.559,
    "c": 0.0937,
    "h": 331.5
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#945F8D
secondary
#9AB59E
accent
#BE7569
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F

Preview Lab

Preview with #945F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#945F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva