#9B45EB#9B45EB

#9B45EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.237 H 303.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9B45EB
RGBrgb(155, 69, 235)
HSLhsl(271, 81%, 60%)
HSVhsv(271, 71%, 92%)
CMYKcmyk(34%, 70.6%, 0%, 7.8%)
CIE-LABlab(48.54, 64.64, -69.41)
CIE-LCHlch(48.54, 94.85, 312.96°)
OKLaboklab(58.52% 0.1304 -0.1976)
OKLCHoklch(58.52% 0.237 303.4)
XYZxyz(30.6376, 17.2230, 80.2915)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45EB #95EB45
analogous
#4845EB #9B45EB #EB45E8
triadic
#9B45EB #EB9B45 #45EB9B
tetradic
#9B45EB #EB4845 #95EB45 #45E8EB
square
#9B45EB #EB4845 #95EB45 #45E8EB
split-complementary
#9B45EB #E8EB45 #45EB48
monochromatic
#5D12A4 #7D18DB #9B45EB #B97CF1 #D6B4F7

Accessibility & contrast

On white

4.72
#9B45EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9B45EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45EB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45EB#FFFFFF#000000##FFFFFF
##9B45EB1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#8B6D94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b45eb;
/* rgb */ color: rgb(155, 69, 235);
/* oklch */ color: oklch(58.5% 0.237 303.4);
Tailwind
colors: {
  custom: {
    50: '#be80f2',
    500: '#9b45eb',
    950: '#000000',
  },
}
SCSS
$custom: #9b45eb;
$custom-light: #be80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45eb",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 235
  },
  "hsl": {
    "h": 271.084,
    "s": 80.583,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.23673,
    "h": 303.4
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#9B45EB
secondary
#C5E6A6
accent
#F73190
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B45EB

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

Preview Lab → · Contrast checker → · Palette generator →

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