#9B2893#9B2893

#9B2893 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.191 H 331.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9B2893
RGBrgb(155, 40, 147)
HSLhsl(304, 59%, 38%)
HSVhsv(304, 74%, 61%)
CMYKcmyk(0%, 74.2%, 5.2%, 39.2%)
CIE-LABlab(38.89, 58.52, -33.47)
CIE-LCHlch(38.89, 67.42, 330.23°)
OKLaboklab(49.84% 0.1669 -0.0922)
OKLCHoklch(49.84% 0.191 331.1)
XYZxyz(19.5428, 10.5943, 28.6137)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2893 #289B30
analogous
#69289B #9B2893 #9B2859
triadic
#9B2893 #939B28 #28939B
tetradic
#9B2893 #9B6928 #289B30 #28599B
square
#9B2893 #9B6928 #289B30 #28599B
split-complementary
#9B2893 #599B28 #289B69
monochromatic
#3A0F37 #6A1B65 #9B2893 #CB35C1 #D766D0

Accessibility & contrast

On white

6.73
#9B2893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2893
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2893#FFFFFF#000000##FFFFFF
##9B28931.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5196
Deuteranopia (green-blind)
#4C6190
Tritanopia (blue-blind)
#A1365B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2893;
/* rgb */ color: rgb(155, 40, 147);
/* oklch */ color: oklch(49.8% 0.191 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc6eb3',
    500: '#9b2893',
    950: '#000000',
  },
}
SCSS
$custom: #9b2893;
$custom-light: #bc6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2893",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 304.174,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.19065,
    "h": 331.1
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#9B2893
secondary
#61BD68
accent
#E25146
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2893

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

Preview Lab → · Contrast checker → · Palette generator →

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