#9B307D#9B307D

#9B307D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.165 H 340.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9B307D
RGBrgb(155, 48, 125)
HSLhsl(317, 53%, 40%)
HSVhsv(317, 69%, 61%)
CMYKcmyk(0%, 69%, 19.4%, 39.2%)
CIE-LABlab(38.84, 52.23, -20.03)
CIE-LCHlch(38.84, 55.94, 339.01°)
OKLaboklab(49.45% 0.1558 -0.0539)
OKLCHoklch(49.45% 0.165 340.9)
XYZxyz(18.2767, 10.5649, 20.4747)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B307D #309B4E
analogous
#83309B #9B307D #9B3048
triadic
#9B307D #7D9B30 #307D9B
tetradic
#9B307D #9B8330 #309B4E #30489B
square
#9B307D #9B8330 #309B4E #30489B
split-complementary
#9B307D #489B30 #309B83
monochromatic
#3E1332 #6C2257 #9B307D #C543A1 #D372B8

Accessibility & contrast

On white

6.75
#9B307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B307D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B307D#FFFFFF#000000##FFFFFF
##9B307D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A43252
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b307d;
/* rgb */ color: rgb(155, 48, 125);
/* oklch */ color: oklch(49.4% 0.165 340.9);
Tailwind
colors: {
  custom: {
    50: '#bc71a3',
    500: '#9b307d',
    950: '#000000',
  },
}
SCSS
$custom: #9b307d;
$custom-light: #bc71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b307d",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 316.822,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.16487,
    "h": 340.9
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#9B307D
secondary
#6CBB82
accent
#DC744C
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B307D

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

Preview Lab → · Contrast checker → · Palette generator →

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