#9B307E#9B307E

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

Color values

HEX#9B307E
RGBrgb(155, 48, 126)
HSLhsl(316, 53%, 40%)
HSVhsv(316, 69%, 61%)
CMYKcmyk(0%, 69%, 18.7%, 39.2%)
CIE-LABlab(38.88, 52.37, -20.58)
CIE-LCHlch(38.88, 56.27, 338.54°)
OKLaboklab(49.49% 0.156 -0.0554)
OKLCHoklch(49.49% 0.166 340.4)
XYZxyz(18.3409, 10.5906, 20.8129)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B307E #309B4D
analogous
#83309B #9B307E #9B3048
triadic
#9B307E #7E9B30 #307E9B
tetradic
#9B307E #9B8330 #309B4D #30489B
square
#9B307E #9B8330 #309B4D #30489B
split-complementary
#9B307E #489B30 #309B83
monochromatic
#3E1332 #6C2258 #9B307E #C543A2 #D372B9

Accessibility & contrast

On white

6.74
#9B307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B307E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B307E#FFFFFF#000000##FFFFFF
##9B307E1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#A43352
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b307e;
/* rgb */ color: rgb(155, 48, 126);
/* oklch */ color: oklch(49.5% 0.166 340.4);
Tailwind
colors: {
  custom: {
    50: '#bc71a3',
    500: '#9b307e',
    950: '#000000',
  },
}
SCSS
$custom: #9b307e;
$custom-light: #bc71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b307e",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 316.262,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.16556,
    "h": 340.4
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#9B307E
secondary
#6CBB81
accent
#DC734C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B307E

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

Preview Lab → · Contrast checker → · Palette generator →

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