#9B309F#9B309F

#9B309F is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.191 H 326.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9B309F
RGBrgb(155, 48, 159)
HSLhsl(298, 54%, 41%)
HSVhsv(298, 70%, 62%)
CMYKcmyk(2.5%, 69.8%, 0%, 37.6%)
CIE-LABlab(40.55, 57.70, -38.09)
CIE-LCHlch(40.55, 69.14, 326.57°)
OKLaboklab(51.24% 0.159 -0.1057)
OKLCHoklch(51.24% 0.191 326.4)
XYZxyz(20.8321, 11.5871, 33.9334)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B309F #349F30
analogous
#63309F #9B309F #9F306B
triadic
#9B309F #9F9B30 #309F9B
tetradic
#9B309F #9F6330 #349F30 #306B9F
square
#9B309F #9F6330 #349F30 #306B9F
split-complementary
#9B309F #6B9F30 #309F63
monochromatic
#3F1441 #6D2270 #9B309F #C245C7 #D274D5

Accessibility & contrast

On white

6.33
#9B309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9B309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B309F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B309F#FFFFFF#000000##FFFFFF
##9B309F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A2
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#9F4164
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b309f;
/* rgb */ color: rgb(155, 48, 159);
/* oklch */ color: oklch(51.2% 0.191 326.4);
Tailwind
colors: {
  custom: {
    50: '#bc72bc',
    500: '#9b309f',
    950: '#000000',
  },
}
SCSS
$custom: #9b309f;
$custom-light: #bc72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b309f",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 297.838,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.19094,
    "h": 326.4
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#9B309F
secondary
#71BD6E
accent
#DD4B50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B309F

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

Preview Lab → · Contrast checker → · Palette generator →

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