#9B45CE#9B45CE

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

Color values

HEX#9B45CE
RGBrgb(155, 69, 206)
HSLhsl(278, 58%, 54%)
HSVhsv(278, 67%, 81%)
CMYKcmyk(24.8%, 66.5%, 0%, 19.2%)
CIE-LABlab(46.55, 58.18, -56.11)
CIE-LCHlch(46.55, 80.83, 316.03°)
OKLaboklab(56.47% 0.134 -0.1585)
OKLCHoklch(56.47% 0.208 310.2)
XYZxyz(26.7841, 15.6816, 59.9964)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45CE #78CE45
analogous
#5745CE #9B45CE #CE45BD
triadic
#9B45CE #CE9B45 #45CE9B
tetradic
#9B45CE #CE5745 #78CE45 #45BDCE
square
#9B45CE #CE5745 #78CE45 #45BDCE
split-complementary
#9B45CE #BDCE45 #45CE57
monochromatic
#582079 #7B2DA9 #9B45CE #B575DB #CFA6E8

Accessibility & contrast

On white

5.08
#9B45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9B45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45CE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45CE#FFFFFF#000000##FFFFFF
##9B45CE1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#946184
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b45ce;
/* rgb */ color: rgb(155, 69, 206);
/* oklch */ color: oklch(56.5% 0.208 310.2);
Tailwind
colors: {
  custom: {
    50: '#bd7fde',
    500: '#9b45ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b45ce;
$custom-light: #bd7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45ce",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 277.664,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.20759,
    "h": 310.2
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#9B45CE
secondary
#B0D59A
accent
#E24680
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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