#9B45CF#9B45CF

#9B45CF is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.209 H 310.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9B45CF
RGBrgb(155, 69, 207)
HSLhsl(277, 59%, 54%)
HSVhsv(277, 67%, 81%)
CMYKcmyk(25.1%, 66.7%, 0%, 18.8%)
CIE-LABlab(46.62, 58.39, -56.58)
CIE-LCHlch(46.62, 81.31, 315.90°)
OKLaboklab(56.54% 0.134 -0.1599)
OKLCHoklch(56.54% 0.209 310)
XYZxyz(26.9060, 15.7303, 60.6383)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45CF #79CF45
analogous
#5645CF #9B45CF #CF45BE
triadic
#9B45CF #CF9B45 #45CF9B
tetradic
#9B45CF #CF5645 #79CF45 #45BECF
square
#9B45CF #CF5645 #79CF45 #45BECF
split-complementary
#9B45CF #BECF45 #45CF56
monochromatic
#58207A #7B2CAB #9B45CF #B576DC #CFA6E8

Accessibility & contrast

On white

5.07
#9B45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9B45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45CF#FFFFFF#000000##FFFFFF
##9B45CF1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3070CC
Tritanopia (blue-blind)
#946284
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b45cf;
/* rgb */ color: rgb(155, 69, 207);
/* oklch */ color: oklch(56.5% 0.209 310.0);
Tailwind
colors: {
  custom: {
    50: '#bd7fde',
    500: '#9b45cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b45cf;
$custom-light: #bd7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45cf",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 277.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.2086,
    "h": 310
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#9B45CF
secondary
#B1D59B
accent
#E24681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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