#9B307B#9B307B

#9B307B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.164 H 341.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9B307B
RGBrgb(155, 48, 123)
HSLhsl(318, 53%, 40%)
HSVhsv(318, 69%, 61%)
CMYKcmyk(0%, 69%, 20.6%, 39.2%)
CIE-LABlab(38.75, 51.94, -18.93)
CIE-LCHlch(38.75, 55.28, 339.98°)
OKLaboklab(49.35% 0.1554 -0.0508)
OKLCHoklch(49.35% 0.164 341.9)
XYZxyz(18.1502, 10.5143, 19.8086)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B307B #309B50
analogous
#86309B #9B307B #9B3046
triadic
#9B307B #7B9B30 #307B9B
tetradic
#9B307B #9B8630 #309B50 #30469B
square
#9B307B #9B8630 #309B50 #30469B
split-complementary
#9B307B #469B30 #309B86
monochromatic
#3E1331 #6C2256 #9B307B #C5439E #D372B6

Accessibility & contrast

On white

6.77
#9B307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9B307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B307B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B307B#FFFFFF#000000##FFFFFF
##9B307B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#596278
Tritanopia (blue-blind)
#A53151
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b307b;
/* rgb */ color: rgb(155, 48, 123);
/* oklch */ color: oklch(49.4% 0.164 341.9);
Tailwind
colors: {
  custom: {
    50: '#bc71a1',
    500: '#9b307b',
    950: '#000000',
  },
}
SCSS
$custom: #9b307b;
$custom-light: #bc71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b307b",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 317.944,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.16352,
    "h": 341.9
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#9B307B
secondary
#6CBB83
accent
#DC774C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9B307B

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

Preview Lab → · Contrast checker → · Palette generator →

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