#9945BE#9945BE

#9945BE is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.191 H 313.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9945BE
RGBrgb(153, 69, 190)
HSLhsl(282, 48%, 51%)
HSVhsv(282, 64%, 75%)
CMYKcmyk(19.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(45.29, 54.30, -48.90)
CIE-LCHlch(45.29, 73.07, 317.99°)
OKLaboklab(55.18% 0.1324 -0.1374)
OKLCHoklch(55.18% 0.191 313.9)
XYZxyz(24.5577, 14.7470, 50.2580)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945BE #6ABE45
analogous
#5C45BE #9945BE #BE45A6
triadic
#9945BE #BE9945 #45BE99
tetradic
#9945BE #BE5C45 #6ABE45 #45A6BE
square
#9945BE #BE5C45 #6ABE45 #45A6BE
split-complementary
#9945BE #A6BE45 #45BE5C
monochromatic
#512365 #753393 #9945BE #B272CE #CBA0DE

Accessibility & contrast

On white

5.32
#9945BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9945BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945BE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945BE#FFFFFF#000000##FFFFFF
##9945BE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#965C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9945be;
/* rgb */ color: rgb(153, 69, 190);
/* oklch */ color: oklch(55.2% 0.191 313.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ed2',
    500: '#9945be',
    950: '#000000',
  },
}
SCSS
$custom: #9945be;
$custom-light: #ba7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9945be",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 281.653,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.19081,
    "h": 313.9
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#9945BE
secondary
#A5CA95
accent
#D8507A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9945BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9945BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva