#9B258F#9B258F

#9B258F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.191 H 332.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9B258F
RGBrgb(155, 37, 143)
HSLhsl(306, 61%, 38%)
HSVhsv(306, 76%, 61%)
CMYKcmyk(0%, 76.1%, 7.7%, 39.2%)
CIE-LABlab(38.33, 58.86, -31.90)
CIE-LCHlch(38.33, 66.95, 331.54°)
OKLaboklab(49.37% 0.1695 -0.0877)
OKLCHoklch(49.37% 0.191 332.7)
XYZxyz(19.1371, 10.2765, 26.9569)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B258F #259B31
analogous
#6C259B #9B258F #9B2554
triadic
#9B258F #8F9B25 #258F9B
tetradic
#9B258F #9B6C25 #259B31 #25549B
square
#9B258F #9B6C25 #259B31 #25549B
split-complementary
#9B258F #549B25 #259B6C
monochromatic
#380D34 #6A1961 #9B258F #CC31BD #D961CD

Accessibility & contrast

On white

6.87
#9B258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B258F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B258F#FFFFFF#000000##FFFFFF
##9B258F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5092
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A23258
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b258f;
/* rgb */ color: rgb(155, 37, 143);
/* oklch */ color: oklch(49.4% 0.191 332.7);
Tailwind
colors: {
  custom: {
    50: '#bc6db0',
    500: '#9b258f',
    950: '#000000',
  },
}
SCSS
$custom: #9b258f;
$custom-light: #bc6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b258f",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 306.102,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.19085,
    "h": 332.7
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#9B258F
secondary
#5DBF67
accent
#E55443
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B258F

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

Preview Lab → · Contrast checker → · Palette generator →

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