#945997#945997

#945997 is a mid, moderate purple. Relative luminance 0.157; OKLCH L 55.3% C 0.115 H 325.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#945997
RGBrgb(148, 89, 151)
HSLhsl(297, 26%, 47%)
HSVhsv(297, 41%, 59%)
CMYKcmyk(2%, 41.1%, 0%, 40.8%)
CIE-LABlab(46.55, 34.44, -23.98)
CIE-LCHlch(46.55, 41.97, 325.16°)
OKLaboklab(55.32% 0.0945 -0.0655)
OKLCHoklch(55.32% 0.115 325.3)
XYZxyz(21.3705, 15.6759, 31.1722)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945997 #5C9759
analogous
#755997 #945997 #97597B
triadic
#945997 #979459 #599794
tetradic
#945997 #977559 #5C9759 #597B97
square
#945997 #977559 #5C9759 #597B97
split-complementary
#945997 #7B9759 #599775
monochromatic
#492C4A #6E4270 #945997 #AF7CB2 #C6A2C8

Accessibility & contrast

On white

5.08
#945997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#945997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945997
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945997#FFFFFF#000000##FFFFFF
##9459971.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#975F71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #945997;
/* rgb */ color: rgb(148, 89, 151);
/* oklch */ color: oklch(55.3% 0.115 325.3);
Tailwind
colors: {
  custom: {
    50: '#b589b5',
    500: '#945997',
    950: '#000000',
  },
}
SCSS
$custom: #945997;
$custom-light: #b589b5;
$custom-dark: #000000;
JSON
{
  "hex": "#945997",
  "rgb": {
    "r": 148,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 297.097,
    "s": 25.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.11502,
    "h": 325.3
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#945997
secondary
#97B696
accent
#C2666A
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #945997

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

Preview Lab → · Contrast checker → · Palette generator →

#945997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva