#9B2BE2#9B2BE2

#9B2BE2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.5% C 0.254 H 307.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9B2BE2
RGBrgb(155, 43, 226)
HSLhsl(277, 76%, 53%)
HSVhsv(277, 81%, 89%)
CMYKcmyk(31.4%, 81%, 0%, 11.4%)
CIE-LABlab(44.50, 72.33, -70.89)
CIE-LCHlch(44.50, 101.28, 315.58°)
OKLaboklab(55.47% 0.1537 -0.2018)
OKLCHoklch(55.47% 0.254 307.3)
XYZxyz(28.1060, 14.1877, 73.1946)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BE2 #72E22B
analogous
#3F2BE2 #9B2BE2 #E22BCE
triadic
#9B2BE2 #E29B2B #2BE29B
tetradic
#9B2BE2 #E23F2B #72E22B #2BCEE2
square
#9B2BE2 #E23F2B #72E22B #2BCEE2
split-complementary
#9B2BE2 #CEE22B #2BE23F
monochromatic
#561281 #7A19B7 #9B2BE2 #B461E9 #CE97F1

Accessibility & contrast

On white

5.47
#9B2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9B2BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BE2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BE2#FFFFFF#000000##FFFFFF
##9B2BE21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#8F5D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b2be2;
/* rgb */ color: rgb(155, 43, 226);
/* oklch */ color: oklch(55.5% 0.254 307.3);
Tailwind
colors: {
  custom: {
    50: '#bf73ec',
    500: '#9b2be2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2be2;
$custom-light: #bf73ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2be2",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 276.721,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.25366,
    "h": 307.3
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#9B2BE2
secondary
#ACDC8D
accent
#F3357F
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9B2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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