#945CBB#945CBB

#945CBB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.150 H 309.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#945CBB
RGBrgb(148, 92, 187)
HSLhsl(275, 41%, 55%)
HSVhsv(275, 51%, 73%)
CMYKcmyk(20.9%, 50.8%, 0%, 26.7%)
CIE-LABlab(48.93, 40.52, -41.39)
CIE-LCHlch(48.93, 57.92, 314.39°)
OKLaboklab(57.66% 0.096 -0.1157)
OKLCHoklch(57.66% 0.15 309.7)
XYZxyz(25.0078, 17.5385, 49.0719)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CBB #83BB5C
analogous
#645CBB #945CBB #BB5CB3
triadic
#945CBB #BB945C #5CBB94
tetradic
#945CBB #BB645C #83BB5C #5CB3BB
square
#945CBB #BB645C #83BB5C #5CB3BB
split-complementary
#945CBB #B3BB5C #5CBB64
monochromatic
#542E6F #75409A #945CBB #B087CD #CDB2DF

Accessibility & contrast

On white

4.66
#945CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#945CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #945CBB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CBB#FFFFFF#000000##FFFFFF
##945CBB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#8F6C83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #945cbb;
/* rgb */ color: rgb(148, 92, 187);
/* oklch */ color: oklch(57.7% 0.150 309.7);
Tailwind
colors: {
  custom: {
    50: '#b58cd0',
    500: '#945cbb',
    950: '#000000',
  },
}
SCSS
$custom: #945cbb;
$custom-light: #b58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#945cbb",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 275.368,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.15039,
    "h": 309.7
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#945CBB
secondary
#B6CDA5
accent
#D15789
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #945CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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