#945C99#945C99

#945C99 is a mid, moderate purple. Relative luminance 0.163; OKLCH L 55.9% C 0.112 H 324.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#945C99
RGBrgb(148, 92, 153)
HSLhsl(295, 25%, 48%)
HSVhsv(295, 40%, 60%)
CMYKcmyk(3.3%, 39.9%, 0%, 40%)
CIE-LABlab(47.30, 33.16, -24.00)
CIE-LCHlch(47.30, 40.93, 324.11°)
OKLaboklab(55.91% 0.0903 -0.0656)
OKLCHoklch(55.91% 0.112 324)
XYZxyz(21.7891, 16.2510, 32.1198)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945C99 #61995C
analogous
#755C99 #945C99 #995C7F
triadic
#945C99 #99945C #5C9994
tetradic
#945C99 #99755C #61995C #5C7F99
square
#945C99 #99755C #61995C #5C7F99
split-complementary
#945C99 #7F995C #5C9975
monochromatic
#4A2E4D #6F4573 #945C99 #AE80B2 #C7A6C9

Accessibility & contrast

On white

4.94
#945C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#945C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945C99
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945C99#FFFFFF#000000##FFFFFF
##945C991.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566C9B
Deuteranopia (green-blind)
#647397
Tritanopia (blue-blind)
#966273
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #945c99;
/* rgb */ color: rgb(148, 92, 153);
/* oklch */ color: oklch(55.9% 0.112 324.0);
Tailwind
colors: {
  custom: {
    50: '#b48bb7',
    500: '#945c99',
    950: '#000000',
  },
}
SCSS
$custom: #945c99;
$custom-light: #b48bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#945c99",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 295.082,
    "s": 24.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.11163,
    "h": 324
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#945C99
secondary
#9CB799
accent
#C1666E
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #945C99

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

Preview Lab → · Contrast checker → · Palette generator →

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