#9B45DD#9B45DD

#9B45DD is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.223 H 306.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B45DD
RGBrgb(155, 69, 221)
HSLhsl(274, 69%, 57%)
HSVhsv(274, 69%, 87%)
CMYKcmyk(29.9%, 68.8%, 0%, 13.3%)
CIE-LABlab(47.55, 61.48, -63.08)
CIE-LCHlch(47.55, 88.09, 314.26°)
OKLaboklab(57.5% 0.1325 -0.179)
OKLCHoklch(57.5% 0.223 306.5)
XYZxyz(28.6940, 16.4456, 70.0553)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45DD #87DD45
analogous
#4F45DD #9B45DD #DD45D3
triadic
#9B45DD #DD9B45 #45DD9B
tetradic
#9B45DD #DD4F45 #87DD45 #45D3DD
square
#9B45DD #DD4F45 #87DD45 #45D3DD
split-complementary
#9B45DD #D3DD45 #45DD4F
monochromatic
#5B1A8E #7D23C1 #9B45DD #B779E6 #D3ACF0

Accessibility & contrast

On white

4.90
#9B45DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9B45DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45DD#FFFFFF#000000##FFFFFF
##9B45DD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#1471DA
Tritanopia (blue-blind)
#90678C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b45dd;
/* rgb */ color: rgb(155, 69, 221);
/* oklch */ color: oklch(57.5% 0.223 306.5);
Tailwind
colors: {
  custom: {
    50: '#bd7fe8',
    500: '#9b45dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b45dd;
$custom-light: #bd7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45dd",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 273.947,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.22267,
    "h": 306.5
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#9B45DD
secondary
#BBDEA0
accent
#EC3C88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B45DD

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

Preview Lab → · Contrast checker → · Palette generator →

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