#9B45E1#9B45E1

#9B45E1 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.227 H 305.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B45E1
RGBrgb(155, 69, 225)
HSLhsl(273, 72%, 58%)
HSVhsv(273, 69%, 88%)
CMYKcmyk(31.1%, 69.3%, 0%, 11.8%)
CIE-LABlab(47.83, 62.38, -64.91)
CIE-LCHlch(47.83, 90.02, 313.86°)
OKLaboklab(57.79% 0.1319 -0.1844)
OKLCHoklch(57.79% 0.227 305.6)
XYZxyz(29.2333, 16.6613, 72.8955)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45E1 #8BE145
analogous
#4D45E1 #9B45E1 #E145D9
triadic
#9B45E1 #E19B45 #45E19B
tetradic
#9B45E1 #E14D45 #8BE145 #45D9E1
square
#9B45E1 #E14D45 #8BE145 #45D9E1
split-complementary
#9B45E1 #D9E145 #45E14D
monochromatic
#5C1894 #7D20C8 #9B45E1 #B77AE9 #D4AEF2

Accessibility & contrast

On white

4.85
#9B45E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9B45E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45E1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45E1#FFFFFF#000000##FFFFFF
##9B45E11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0072DE
Tritanopia (blue-blind)
#8E698E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b45e1;
/* rgb */ color: rgb(155, 69, 225);
/* oklch */ color: oklch(57.8% 0.227 305.6);
Tailwind
colors: {
  custom: {
    50: '#be7feb',
    500: '#9b45e1',
    950: '#000000',
  },
}
SCSS
$custom: #9b45e1;
$custom-light: #be7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45e1",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 273.077,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.22669,
    "h": 305.6
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#9B45E1
secondary
#BEE0A2
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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