#9B45CD#9B45CD

#9B45CD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.207 H 310.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9B45CD
RGBrgb(155, 69, 205)
HSLhsl(278, 58%, 54%)
HSVhsv(278, 66%, 80%)
CMYKcmyk(24.4%, 66.3%, 0%, 19.6%)
CIE-LABlab(46.49, 57.96, -55.64)
CIE-LCHlch(46.49, 80.34, 316.17°)
OKLaboklab(56.4% 0.1341 -0.1571)
OKLCHoklch(56.4% 0.207 310.5)
XYZxyz(26.6630, 15.6332, 59.3587)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45CD #77CD45
analogous
#5745CD #9B45CD #CD45BB
triadic
#9B45CD #CD9B45 #45CD9B
tetradic
#9B45CD #CD5745 #77CD45 #45BBCD
square
#9B45CD #CD5745 #77CD45 #45BBCD
split-complementary
#9B45CD #BBCD45 #45CD57
monochromatic
#572077 #7B2DA8 #9B45CD #B575DA #CFA5E7

Accessibility & contrast

On white

5.09
#9B45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9B45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45CD#FFFFFF#000000##FFFFFF
##9B45CD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#946183
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b45cd;
/* rgb */ color: rgb(155, 69, 205);
/* oklch */ color: oklch(56.4% 0.207 310.5);
Tailwind
colors: {
  custom: {
    50: '#bc7fdd',
    500: '#9b45cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b45cd;
$custom-light: #bc7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45cd",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 277.941,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.20659,
    "h": 310.5
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#9B45CD
secondary
#AFD49A
accent
#E14780
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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