#945A99#945A99

#945A99 is a mid, moderate purple. Relative luminance 0.159; OKLCH L 55.6% C 0.115 H 324.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#945A99
RGBrgb(148, 90, 153)
HSLhsl(295, 26%, 48%)
HSVhsv(295, 41%, 60%)
CMYKcmyk(3.3%, 41.2%, 0%, 40%)
CIE-LABlab(46.85, 34.28, -24.69)
CIE-LCHlch(46.85, 42.25, 324.24°)
OKLaboklab(55.58% 0.0934 -0.0676)
OKLCHoklch(55.58% 0.115 324.1)
XYZxyz(21.6181, 15.9090, 32.0628)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945A99 #5F995A
analogous
#745A99 #945A99 #995A7E
triadic
#945A99 #99945A #5A9994
tetradic
#945A99 #99745A #5F995A #5A7E99
square
#945A99 #99745A #5F995A #5A7E99
split-complementary
#945A99 #7E995A #5A9974
monochromatic
#492D4C #6F4372 #945A99 #AF7DB3 #C6A4C9

Accessibility & contrast

On white

5.02
#945A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#945A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945A99
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945A99#FFFFFF#000000##FFFFFF
##945A991.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536B9B
Deuteranopia (green-blind)
#637297
Tritanopia (blue-blind)
#966172
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #945a99;
/* rgb */ color: rgb(148, 90, 153);
/* oklch */ color: oklch(55.6% 0.115 324.1);
Tailwind
colors: {
  custom: {
    50: '#b58ab7',
    500: '#945a99',
    950: '#000000',
  },
}
SCSS
$custom: #945a99;
$custom-light: #b58ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#945a99",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 153
  },
  "hsl": {
    "h": 295.238,
    "s": 25.926,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.1153,
    "h": 324.1
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#945A99
secondary
#9AB798
accent
#C2656D
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #945A99

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

Preview Lab → · Contrast checker → · Palette generator →

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