#945DBB#945DBB

#945DBB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.149 H 309.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#945DBB
RGBrgb(148, 93, 187)
HSLhsl(275, 41%, 55%)
HSVhsv(275, 50%, 73%)
CMYKcmyk(20.9%, 50.3%, 0%, 26.7%)
CIE-LABlab(49.15, 39.96, -41.05)
CIE-LCHlch(49.15, 57.29, 314.23°)
OKLaboklab(57.82% 0.0946 -0.1148)
OKLCHoklch(57.82% 0.149 309.5)
XYZxyz(25.0950, 17.7129, 49.1010)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DBB #84BB5D
analogous
#655DBB #945DBB #BB5DB3
triadic
#945DBB #BB945D #5DBB94
tetradic
#945DBB #BB655D #84BB5D #5DB3BB
square
#945DBB #BB655D #84BB5D #5DB3BB
split-complementary
#945DBB #B3BB5D #5DBB65
monochromatic
#542F6F #75419A #945DBB #B088CD #CDB3DF

Accessibility & contrast

On white

4.62
#945DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#945DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #945DBB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DBB#FFFFFF#000000##FFFFFF
##945DBB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#8F6D83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #945dbb;
/* rgb */ color: rgb(148, 93, 187);
/* oklch */ color: oklch(57.8% 0.149 309.5);
Tailwind
colors: {
  custom: {
    50: '#b58cd0',
    500: '#945dbb',
    950: '#000000',
  },
}
SCSS
$custom: #945dbb;
$custom-light: #b58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#945dbb",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 275.106,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.14874,
    "h": 309.5
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

primary
#945DBB
secondary
#B7CEA6
accent
#D1578A
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #945DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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