#945AAA#945AAA

#945AAA is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.4% C 0.134 H 316.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#945AAA
RGBrgb(148, 90, 170)
HSLhsl(284, 32%, 51%)
HSVhsv(284, 47%, 67%)
CMYKcmyk(12.9%, 47.1%, 0%, 33.3%)
CIE-LABlab(47.64, 37.83, -33.51)
CIE-LCHlch(47.64, 50.54, 318.47°)
OKLaboklab(56.42% 0.0967 -0.0929)
OKLCHoklch(56.42% 0.134 316.1)
XYZxyz(23.1235, 16.5112, 39.9913)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AAA #70AA5A
analogous
#6C5AAA #945AAA #AA5A98
triadic
#945AAA #AA945A #5AAA94
tetradic
#945AAA #AA6C5A #70AA5A #5A98AA
square
#945AAA #AA6C5A #70AA5A #5A98AA
split-complementary
#945AAA #98AA5A #5AAA6C
monochromatic
#4F2F5B #724483 #945AAA #AE82BF #C8ABD4

Accessibility & contrast

On white

4.88
#945AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#945AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945AAA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AAA#FFFFFF#000000##FFFFFF
##945AAA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAD
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#93657A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #945aaa;
/* rgb */ color: rgb(148, 90, 170);
/* oklch */ color: oklch(56.4% 0.134 316.1);
Tailwind
colors: {
  custom: {
    50: '#b58ac3',
    500: '#945aaa',
    950: '#000000',
  },
}
SCSS
$custom: #945aaa;
$custom-light: #b58ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#945aaa",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 283.5,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.13407,
    "h": 316.1
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#945AAA
secondary
#A8C29E
accent
#C8607C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #945AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#945AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva