#9B258E#9B258E

#9B258E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.190 H 333.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9B258E
RGBrgb(155, 37, 142)
HSLhsl(307, 61%, 38%)
HSVhsv(307, 76%, 61%)
CMYKcmyk(0%, 76.1%, 8.4%, 39.2%)
CIE-LABlab(38.28, 58.70, -31.38)
CIE-LCHlch(38.28, 66.56, 331.87°)
OKLaboklab(49.31% 0.1695 -0.0861)
OKLCHoklch(49.31% 0.19 333.1)
XYZxyz(19.0617, 10.2463, 26.5597)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B258E #259B32
analogous
#6D259B #9B258E #9B2553
triadic
#9B258E #8E9B25 #258E9B
tetradic
#9B258E #9B6D25 #259B32 #25539B
square
#9B258E #9B6D25 #259B32 #25539B
split-complementary
#9B258E #539B25 #259B6D
monochromatic
#380D33 #6A1961 #9B258E #CC31BB #D961CC

Accessibility & contrast

On white

6.89
#9B258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B258E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B258E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B258E#FFFFFF#000000##FFFFFF
##9B258E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b258e;
/* rgb */ color: rgb(155, 37, 142);
/* oklch */ color: oklch(49.3% 0.190 333.1);
Tailwind
colors: {
  custom: {
    50: '#bc6daf',
    500: '#9b258e',
    950: '#000000',
  },
}
SCSS
$custom: #9b258e;
$custom-light: #bc6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b258e",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 306.61,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.19011,
    "h": 333.1
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#9B258E
secondary
#5DBF68
accent
#E55543
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B258E

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

Preview Lab → · Contrast checker → · Palette generator →

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