#9B438D#9B438D

#9B438D is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.5% C 0.149 H 334.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9B438D
RGBrgb(155, 67, 141)
HSLhsl(310, 40%, 44%)
HSVhsv(310, 57%, 61%)
CMYKcmyk(0%, 56.8%, 9%, 39.2%)
CIE-LABlab(42.62, 46.35, -23.98)
CIE-LCHlch(42.62, 52.18, 332.65°)
OKLaboklab(52.46% 0.1338 -0.0652)
OKLCHoklch(52.46% 0.149 334)
XYZxyz(20.3325, 12.9074, 26.6146)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B438D #439B51
analogous
#7D439B #9B438D #9B4361
triadic
#9B438D #8D9B43 #438D9B
tetradic
#9B438D #9B7D43 #439B51 #43619B
square
#9B438D #9B7D43 #439B51 #43619B
split-complementary
#9B438D #619B43 #439B7D
monochromatic
#461E3F #703166 #9B438D #BB61AC #CD8BC3

Accessibility & contrast

On white

5.86
#9B438D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9B438D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B438D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B438D#FFFFFF#000000##FFFFFF
##9B438D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8F
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#A24962
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b438d;
/* rgb */ color: rgb(155, 67, 141);
/* oklch */ color: oklch(52.5% 0.149 334.0);
Tailwind
colors: {
  custom: {
    50: '#bb7cae',
    500: '#9b438d',
    950: '#000000',
  },
}
SCSS
$custom: #9b438d;
$custom-light: #bb7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b438d",
  "rgb": {
    "r": 155,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 309.545,
    "s": 39.64,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.1488,
    "h": 334
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#9B438D
secondary
#82B88A
accent
#D06B58
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9B438D

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

Preview Lab → · Contrast checker → · Palette generator →

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