#9B2CD3#9B2CD3

#9B2CD3 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.4% C 0.240 H 310.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9B2CD3
RGBrgb(155, 44, 211)
HSLhsl(280, 65%, 50%)
HSVhsv(280, 79%, 83%)
CMYKcmyk(26.5%, 79.1%, 0%, 17.3%)
CIE-LABlab(43.47, 68.97, -63.98)
CIE-LCHlch(43.47, 94.07, 317.15°)
OKLaboklab(54.39% 0.1567 -0.1815)
OKLCHoklch(54.39% 0.24 310.8)
XYZxyz(26.1738, 13.4737, 62.8373)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CD3 #64D32C
analogous
#472CD3 #9B2CD3 #D32CB8
triadic
#9B2CD3 #D39B2C #2CD39B
tetradic
#9B2CD3 #D3472C #64D32C #2CB8D3
square
#9B2CD3 #D3472C #64D32C #2CB8D3
split-complementary
#9B2CD3 #B8D32C #2CD347
monochromatic
#51176E #7621A0 #9B2CD3 #B35FDE #CB91E8

Accessibility & contrast

On white

5.68
#9B2CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9B2CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CD3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CD3#FFFFFF#000000##FFFFFF
##9B2CD31.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#935680
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b2cd3;
/* rgb */ color: rgb(155, 44, 211);
/* oklch */ color: oklch(54.4% 0.240 310.8);
Tailwind
colors: {
  custom: {
    50: '#be73e1',
    500: '#9b2cd3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cd3;
$custom-light: #be73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cd3",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 279.88,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.54392,
    "c": 0.23974,
    "h": 310.8
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#9B2CD3
secondary
#A1D388
accent
#E83F78
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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