#9B2EA5#9B2EA5

#9B2EA5 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.198 H 324.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA5
RGBrgb(155, 46, 165)
HSLhsl(295, 56%, 41%)
HSVhsv(295, 72%, 65%)
CMYKcmyk(6.1%, 72.1%, 0%, 35.3%)
CIE-LABlab(40.64, 59.50, -41.55)
CIE-LCHlch(40.64, 72.58, 325.07°)
OKLaboklab(51.42% 0.161 -0.1157)
OKLCHoklch(51.42% 0.198 324.3)
XYZxyz(21.2855, 11.6405, 36.7157)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA5 #38A52E
analogous
#602EA5 #9B2EA5 #A52E74
triadic
#9B2EA5 #A59B2E #2EA59B
tetradic
#9B2EA5 #A5602E #38A52E #2E74A5
square
#9B2EA5 #A5602E #38A52E #2E74A5
split-complementary
#9B2EA5 #74A52E #2EA560
monochromatic
#411345 #6E2175 #9B2EA5 #C045CB #D075D8

Accessibility & contrast

On white

6.31
#9B2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9B2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EA5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EA5#FFFFFF#000000##FFFFFF
##9B2EA51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0557A8
Deuteranopia (green-blind)
#4464A2
Tritanopia (blue-blind)
#9E4267
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2ea5;
/* rgb */ color: rgb(155, 46, 165);
/* oklch */ color: oklch(51.4% 0.198 324.3);
Tailwind
colors: {
  custom: {
    50: '#bc72c0',
    500: '#9b2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea5;
$custom-light: #bc72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea5",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 294.958,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.19828,
    "h": 324.3
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#9B2EA5
secondary
#75C06F
accent
#E04855
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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