#905797#905797

#905797 is a mid, moderate purple. Relative luminance 0.150; OKLCH L 54.5% C 0.116 H 323.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#905797
RGBrgb(144, 87, 151)
HSLhsl(293, 27%, 47%)
HSVhsv(293, 42%, 59%)
CMYKcmyk(4.6%, 42.4%, 0%, 40.8%)
CIE-LABlab(45.61, 34.28, -25.47)
CIE-LCHlch(45.61, 42.70, 323.39°)
OKLaboklab(54.5% 0.0927 -0.0698)
OKLCHoklch(54.5% 0.116 323)
XYZxyz(20.4951, 14.9809, 31.0842)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905797 #5E9757
analogous
#705797 #905797 #97577E
triadic
#905797 #979057 #579790
tetradic
#905797 #977057 #5E9757 #577E97
square
#905797 #977057 #5E9757 #577E97
split-complementary
#905797 #7E9757 #579770
monochromatic
#462A49 #6B4170 #905797 #AC79B2 #C4A0C8

Accessibility & contrast

On white

5.26
#905797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#905797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905797
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905797#FFFFFF#000000##FFFFFF
##9057971.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#5F6E95
Tritanopia (blue-blind)
#925E70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #905797;
/* rgb */ color: rgb(144, 87, 151);
/* oklch */ color: oklch(54.5% 0.116 323.0);
Tailwind
colors: {
  custom: {
    50: '#b288b6',
    500: '#905797',
    950: '#000000',
  },
}
SCSS
$custom: #905797;
$custom-light: #b288b6;
$custom-dark: #000000;
JSON
{
  "hex": "#905797",
  "rgb": {
    "r": 144,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 293.438,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.11608,
    "h": 323
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#905797
secondary
#98B694
accent
#C3656F
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #905797

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

Preview Lab → · Contrast checker → · Palette generator →

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