#945DBF#945DBF

#945DBF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.153 H 308.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#945DBF
RGBrgb(148, 93, 191)
HSLhsl(274, 43%, 56%)
HSVhsv(274, 51%, 75%)
CMYKcmyk(22.5%, 51.3%, 0%, 25.1%)
CIE-LABlab(49.36, 40.89, -43.03)
CIE-LCHlch(49.36, 59.36, 313.54°)
OKLaboklab(58.05% 0.095 -0.1205)
OKLCHoklch(58.05% 0.153 308.3)
XYZxyz(25.5292, 17.8865, 51.3877)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DBF #88BF5D
analogous
#635DBF #945DBF #BF5DB9
triadic
#945DBF #BF945D #5DBF94
tetradic
#945DBF #BF635D #88BF5D #5DB9BF
square
#945DBF #BF635D #88BF5D #5DB9BF
split-complementary
#945DBF #B9BF5D #5DBF63
monochromatic
#552E74 #753FA0 #945DBF #B189D0 #CEB5E2

Accessibility & contrast

On white

4.59
#945DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#945DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #945DBF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DBF#FFFFFF#000000##FFFFFF
##945DBF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#8E6E85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #945dbf;
/* rgb */ color: rgb(148, 93, 191);
/* oklch */ color: oklch(58.0% 0.153 308.3);
Tailwind
colors: {
  custom: {
    50: '#b68cd3',
    500: '#945dbf',
    950: '#000000',
  },
}
SCSS
$custom: #945dbf;
$custom-light: #b68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#945dbf",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 273.673,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.15349,
    "h": 308.3
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#945DBF
secondary
#B9D0A8
accent
#D3558C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #945DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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