#9B488E#9B488E

#9B488E is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.2% C 0.141 H 333.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9B488E
RGBrgb(155, 72, 142)
HSLhsl(309, 37%, 45%)
HSVhsv(309, 54%, 61%)
CMYKcmyk(0%, 53.5%, 8.4%, 39.2%)
CIE-LABlab(43.59, 44.05, -23.08)
CIE-LCHlch(43.59, 49.73, 332.35°)
OKLaboklab(53.19% 0.1268 -0.0627)
OKLCHoklch(53.19% 0.141 333.7)
XYZxyz(20.7174, 13.5577, 27.1116)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B488E #489B55
analogous
#7F489B #9B488E #9B4864
triadic
#9B488E #8E9B48 #488E9B
tetradic
#9B488E #9B7F48 #489B55 #48649B
square
#9B488E #9B7F48 #489B55 #48649B
split-complementary
#9B488E #649B48 #489B7F
monochromatic
#472141 #713568 #9B488E #B968AC #CC91C3

Accessibility & contrast

On white

5.66
#9B488E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9B488E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B488E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B488E#FFFFFF#000000##FFFFFF
##9B488E1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F90
Deuteranopia (green-blind)
#5F6B8C
Tritanopia (blue-blind)
#A14D64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b488e;
/* rgb */ color: rgb(155, 72, 142);
/* oklch */ color: oklch(53.2% 0.141 333.7);
Tailwind
colors: {
  custom: {
    50: '#bb7faf',
    500: '#9b488e',
    950: '#000000',
  },
}
SCSS
$custom: #9b488e;
$custom-light: #bb7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b488e",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 309.398,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.14143,
    "h": 333.7
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#9B488E
secondary
#87B88F
accent
#CD6D5B
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9B488E

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

Preview Lab → · Contrast checker → · Palette generator →

#9B488E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva