#9D45BE#9D45BE

#9D45BE is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.192 H 315.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9D45BE
RGBrgb(157, 69, 190)
HSLhsl(284, 48%, 51%)
HSVhsv(284, 64%, 75%)
CMYKcmyk(17.4%, 63.7%, 0%, 25.5%)
CIE-LABlab(45.83, 55.24, -48.00)
CIE-LCHlch(45.83, 73.18, 319.01°)
OKLaboklab(55.69% 0.1374 -0.1347)
OKLCHoklch(55.69% 0.192 315.6)
XYZxyz(25.3256, 15.1429, 50.2940)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45BE #66BE45
analogous
#6045BE #9D45BE #BE45A3
triadic
#9D45BE #BE9D45 #45BE9D
tetradic
#9D45BE #BE6045 #66BE45 #45A3BE
square
#9D45BE #BE6045 #66BE45 #45A3BE
split-complementary
#9D45BE #A3BE45 #45BE60
monochromatic
#532365 #793393 #9D45BE #B572CE #CDA0DE

Accessibility & contrast

On white

5.21
#9D45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9D45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D45BE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45BE#FFFFFF#000000##FFFFFF
##9D45BE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#9B5B7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d45be;
/* rgb */ color: rgb(157, 69, 190);
/* oklch */ color: oklch(55.7% 0.192 315.6);
Tailwind
colors: {
  custom: {
    50: '#bd7ed2',
    500: '#9d45be',
    950: '#000000',
  },
}
SCSS
$custom: #9d45be;
$custom-light: #bd7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45be",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 283.636,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.19237,
    "h": 315.6
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#9D45BE
secondary
#A3CA95
accent
#D85075
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9D45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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