#945FAA#945FAA

#945FAA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.2% C 0.125 H 315.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#945FAA
RGBrgb(148, 95, 170)
HSLhsl(282, 31%, 52%)
HSVhsv(282, 44%, 67%)
CMYKcmyk(12.9%, 44.1%, 0%, 33.3%)
CIE-LABlab(48.74, 35.04, -31.78)
CIE-LCHlch(48.74, 47.30, 317.79°)
OKLaboklab(57.24% 0.0893 -0.0879)
OKLCHoklch(57.24% 0.125 315.4)
XYZxyz(23.5595, 17.3832, 40.1366)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FAA #75AA5F
analogous
#6F5FAA #945FAA #AA5F9B
triadic
#945FAA #AA945F #5FAA94
tetradic
#945FAA #AA6F5F #75AA5F #5F9BAA
square
#945FAA #AA6F5F #75AA5F #5F9BAA
split-complementary
#945FAA #9BAA5F #5FAA6F
monochromatic
#50315D #734785 #945FAA #AF87BF #C9AFD4

Accessibility & contrast

On white

4.69
#945FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#945FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945FAA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FAA#FFFFFF#000000##FFFFFF
##945FAA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AD
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#93697C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #945faa;
/* rgb */ color: rgb(148, 95, 170);
/* oklch */ color: oklch(57.2% 0.125 315.4);
Tailwind
colors: {
  custom: {
    50: '#b58ec3',
    500: '#945faa',
    950: '#000000',
  },
}
SCSS
$custom: #945faa;
$custom-light: #b58ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#945faa",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 282.4,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.1253,
    "h": 315.4
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#945FAA
secondary
#ACC3A2
accent
#C7617F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #945FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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