#9B307F#9B307F

#9B307F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.166 H 340.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B307F
RGBrgb(155, 48, 127)
HSLhsl(316, 53%, 40%)
HSVhsv(316, 69%, 61%)
CMYKcmyk(0%, 69%, 18.1%, 39.2%)
CIE-LABlab(38.93, 52.52, -21.13)
CIE-LCHlch(38.93, 56.61, 338.08°)
OKLaboklab(49.54% 0.1562 -0.057)
OKLCHoklch(49.54% 0.166 340)
XYZxyz(18.4057, 10.6165, 21.1544)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B307F #309B4C
analogous
#82309B #9B307F #9B304A
triadic
#9B307F #7F9B30 #307F9B
tetradic
#9B307F #9B8230 #309B4C #304A9B
square
#9B307F #9B8230 #309B4C #304A9B
split-complementary
#9B307F #4A9B30 #309B82
monochromatic
#3E1332 #6C2259 #9B307F #C543A3 #D372BA

Accessibility & contrast

On white

6.72
#9B307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9B307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B307F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B307F#FFFFFF#000000##FFFFFF
##9B307F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#A43353
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b307f;
/* rgb */ color: rgb(155, 48, 127);
/* oklch */ color: oklch(49.5% 0.166 340.0);
Tailwind
colors: {
  custom: {
    50: '#bc71a4',
    500: '#9b307f',
    950: '#000000',
  },
}
SCSS
$custom: #9b307f;
$custom-light: #bc71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b307f",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 315.701,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.16625,
    "h": 340
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#9B307F
secondary
#6CBB80
accent
#DC714C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B307F

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

Preview Lab → · Contrast checker → · Palette generator →

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