#9B3DDB#9B3DDB

#9B3DDB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.230 H 307.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9B3DDB
RGBrgb(155, 61, 219)
HSLhsl(276, 69%, 55%)
HSVhsv(276, 72%, 86%)
CMYKcmyk(29.2%, 72.1%, 0%, 14.1%)
CIE-LABlab(46.21, 64.45, -64.13)
CIE-LCHlch(46.21, 90.92, 315.14°)
OKLaboklab(56.5% 0.1406 -0.182)
OKLCHoklch(56.5% 0.23 307.7)
XYZxyz(27.9698, 15.4209, 68.5072)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DDB #7DDB3D
analogous
#4C3DDB #9B3DDB #DB3DCC
triadic
#9B3DDB #DB9B3D #3DDB9B
tetradic
#9B3DDB #DB4C3D #7DDB3D #3DCCDB
square
#9B3DDB #DB4C3D #7DDB3D #3DCCDB
split-complementary
#9B3DDB #CCDB3D #3DDB4C
monochromatic
#591985 #7C22B9 #9B3DDB #B671E5 #D0A4EE

Accessibility & contrast

On white

5.14
#9B3DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9B3DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DDB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DDB#FFFFFF#000000##FFFFFF
##9B3DDB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#916289
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3ddb;
/* rgb */ color: rgb(155, 61, 219);
/* oklch */ color: oklch(56.5% 0.230 307.7);
Tailwind
colors: {
  custom: {
    50: '#be7be7',
    500: '#9b3ddb',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ddb;
$custom-light: #be7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ddb",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 219
  },
  "hsl": {
    "h": 275.696,
    "s": 68.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.23,
    "h": 307.7
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#9B3DDB
secondary
#B4DB99
accent
#EC3C83
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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