#9B45DB#9B45DB

#9B45DB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.4% C 0.221 H 307.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9B45DB
RGBrgb(155, 69, 219)
HSLhsl(274, 68%, 56%)
HSVhsv(274, 68%, 86%)
CMYKcmyk(29.2%, 68.5%, 0%, 14.1%)
CIE-LABlab(47.42, 61.04, -62.17)
CIE-LCHlch(47.42, 87.12, 314.47°)
OKLaboklab(57.36% 0.1327 -0.1763)
OKLCHoklch(57.36% 0.221 307)
XYZxyz(28.4292, 16.3396, 68.6603)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45DB #85DB45
analogous
#5045DB #9B45DB #DB45D0
triadic
#9B45DB #DB9B45 #45DB9B
tetradic
#9B45DB #DB5045 #85DB45 #45D0DB
square
#9B45DB #DB5045 #85DB45 #45D0DB
split-complementary
#9B45DB #D0DB45 #45DB50
monochromatic
#5B1B8B #7D25BE #9B45DB #B778E5 #D2ACEF

Accessibility & contrast

On white

4.92
#9B45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9B45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45DB#FFFFFF#000000##FFFFFF
##9B45DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#1A71D8
Tritanopia (blue-blind)
#90678B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b45db;
/* rgb */ color: rgb(155, 69, 219);
/* oklch */ color: oklch(57.4% 0.221 307.0);
Tailwind
colors: {
  custom: {
    50: '#bd7fe7',
    500: '#9b45db',
    950: '#000000',
  },
}
SCSS
$custom: #9b45db;
$custom-light: #bd7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45db",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 274.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.22065,
    "h": 307
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#9B45DB
secondary
#B9DD9F
accent
#EA3D87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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