#945CAF#945CAF

#945CAF is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.0% C 0.136 H 313.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#945CAF
RGBrgb(148, 92, 175)
HSLhsl(280, 34%, 52%)
HSVhsv(280, 47%, 69%)
CMYKcmyk(15.4%, 47.4%, 0%, 31.4%)
CIE-LABlab(48.32, 37.81, -35.37)
CIE-LCHlch(48.32, 51.78, 316.91°)
OKLaboklab(57% 0.0945 -0.0983)
OKLCHoklch(57% 0.136 313.9)
XYZxyz(23.7765, 17.0459, 42.5868)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CAF #77AF5C
analogous
#6B5CAF #945CAF #AF5CA0
triadic
#945CAF #AF945C #5CAF94
tetradic
#945CAF #AF6B5C #77AF5C #5CA0AF
square
#945CAF #AF6B5C #77AF5C #5CA0AF
split-complementary
#945CAF #A0AF5C #5CAF6B
monochromatic
#513061 #73448A #945CAF #AF85C3 #CAAED7

Accessibility & contrast

On white

4.76
#945CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#945CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945CAF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CAF#FFFFFF#000000##FFFFFF
##945CAF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#92687D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #945caf;
/* rgb */ color: rgb(148, 92, 175);
/* oklch */ color: oklch(57.0% 0.136 313.9);
Tailwind
colors: {
  custom: {
    50: '#b58cc7',
    500: '#945caf',
    950: '#000000',
  },
}
SCSS
$custom: #945caf;
$custom-light: #b58cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#945caf",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 280.482,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.13635,
    "h": 313.9
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#945CAF
secondary
#ADC5A1
accent
#CA5E81
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #945CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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