#9B2CD4#9B2CD4

#9B2CD4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.5% C 0.241 H 310.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9B2CD4
RGBrgb(155, 44, 212)
HSLhsl(280, 66%, 50%)
HSVhsv(280, 79%, 83%)
CMYKcmyk(26.9%, 79.2%, 0%, 16.9%)
CIE-LABlab(43.54, 69.17, -64.44)
CIE-LCHlch(43.54, 94.53, 317.03°)
OKLaboklab(54.47% 0.1565 -0.1828)
OKLCHoklch(54.47% 0.241 310.6)
XYZxyz(26.2996, 13.5240, 63.4996)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CD4 #65D42C
analogous
#472CD4 #9B2CD4 #D42CB9
triadic
#9B2CD4 #D49B2C #2CD49B
tetradic
#9B2CD4 #D4472C #65D42C #2CB9D4
square
#9B2CD4 #D4472C #65D42C #2CB9D4
split-complementary
#9B2CD4 #B9D42C #2CD447
monochromatic
#51176F #7621A2 #9B2CD4 #B35FDE #CB92E9

Accessibility & contrast

On white

5.67
#9B2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9B2CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CD4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CD4#FFFFFF#000000##FFFFFF
##9B2CD41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#935781
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b2cd4;
/* rgb */ color: rgb(155, 44, 212);
/* oklch */ color: oklch(54.5% 0.241 310.6);
Tailwind
colors: {
  custom: {
    50: '#be73e2',
    500: '#9b2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cd4;
$custom-light: #be73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cd4",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 279.643,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.24062,
    "h": 310.6
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#9B2CD4
secondary
#A2D388
accent
#E93F79
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #9B2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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