#9B307C#9B307C

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

Color values

HEX#9B307C
RGBrgb(155, 48, 124)
HSLhsl(317, 53%, 40%)
HSVhsv(317, 69%, 61%)
CMYKcmyk(0%, 69%, 20%, 39.2%)
CIE-LABlab(38.79, 52.08, -19.48)
CIE-LCHlch(38.79, 55.61, 339.49°)
OKLaboklab(49.4% 0.1556 -0.0523)
OKLCHoklch(49.4% 0.164 341.4)
XYZxyz(18.2131, 10.5394, 20.1400)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B307C #309B4F
analogous
#84309B #9B307C #9B3047
triadic
#9B307C #7C9B30 #307C9B
tetradic
#9B307C #9B8430 #309B4F #30479B
square
#9B307C #9B8430 #309B4F #30479B
split-complementary
#9B307C #479B30 #309B84
monochromatic
#3E1331 #6C2257 #9B307C #C5439F #D372B7

Accessibility & contrast

On white

6.76
#9B307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B307C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B307C#FFFFFF#000000##FFFFFF
##9B307C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#A43251
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b307c;
/* rgb */ color: rgb(155, 48, 124);
/* oklch */ color: oklch(49.4% 0.164 341.4);
Tailwind
colors: {
  custom: {
    50: '#bc71a2',
    500: '#9b307c',
    950: '#000000',
  },
}
SCSS
$custom: #9b307c;
$custom-light: #bc71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b307c",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 317.383,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.494,
    "c": 0.1642,
    "h": 341.4
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B307C

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

Preview Lab → · Contrast checker → · Palette generator →

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