#9B45DC#9B45DC

#9B45DC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.222 H 306.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9B45DC
RGBrgb(155, 69, 220)
HSLhsl(274, 68%, 57%)
HSVhsv(274, 69%, 86%)
CMYKcmyk(29.5%, 68.6%, 0%, 13.7%)
CIE-LABlab(47.49, 61.26, -62.63)
CIE-LCHlch(47.49, 87.60, 314.37°)
OKLaboklab(57.43% 0.1326 -0.1776)
OKLCHoklch(57.43% 0.222 306.7)
XYZxyz(28.5612, 16.3924, 69.3557)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45DC #86DC45
analogous
#5045DC #9B45DC #DC45D2
triadic
#9B45DC #DC9B45 #45DC9B
tetradic
#9B45DC #DC5045 #86DC45 #45D2DC
square
#9B45DC #DC5045 #86DC45 #45D2DC
split-complementary
#9B45DC #D2DC45 #45DC50
monochromatic
#5B1A8C #7D24C0 #9B45DC #B779E6 #D2ACEF

Accessibility & contrast

On white

4.91
#9B45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9B45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45DC#FFFFFF#000000##FFFFFF
##9B45DC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#1771D9
Tritanopia (blue-blind)
#90678B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b45dc;
/* rgb */ color: rgb(155, 69, 220);
/* oklch */ color: oklch(57.4% 0.222 306.7);
Tailwind
colors: {
  custom: {
    50: '#bd7fe8',
    500: '#9b45dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b45dc;
$custom-light: #bd7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45dc",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 274.172,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57433,
    "c": 0.22166,
    "h": 306.7
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#9B45DC
secondary
#BADDA0
accent
#EB3D88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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