#9B2EAF#9B2EAF

#9B2EAF is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 320.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9B2EAF
RGBrgb(155, 46, 175)
HSLhsl(291, 58%, 43%)
HSVhsv(291, 74%, 69%)
CMYKcmyk(11.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(41.25, 61.32, -46.54)
CIE-LCHlch(41.25, 76.98, 322.80°)
OKLaboklab(52.05% 0.1605 -0.1303)
OKLCHoklch(52.05% 0.207 320.9)
XYZxyz(22.2315, 12.0189, 41.6980)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EAF #42AF2E
analogous
#5B2EAF #9B2EAF #AF2E82
triadic
#9B2EAF #AF9B2E #2EAF9B
tetradic
#9B2EAF #AF5B2E #42AF2E #2E82AF
square
#9B2EAF #AF5B2E #42AF2E #2E82AF
split-complementary
#9B2EAF #82AF2E #2EAF5B
monochromatic
#45154E #70217F #9B2EAF #BB4BD0 #CD7BDC

Accessibility & contrast

On white

6.17
#9B2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9B2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EAF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EAF#FFFFFF#000000##FFFFFF
##9B2EAF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#9C476C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2eaf;
/* rgb */ color: rgb(155, 46, 175);
/* oklch */ color: oklch(52.0% 0.207 320.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c7',
    500: '#9b2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eaf;
$custom-light: #bc72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eaf",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 290.698,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.2067,
    "h": 320.9
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#9B2EAF
secondary
#81C574
accent
#E2465E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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