#945BBB#945BBB

#945BBB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.152 H 309.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#945BBB
RGBrgb(148, 91, 187)
HSLhsl(276, 41%, 55%)
HSVhsv(276, 51%, 73%)
CMYKcmyk(20.9%, 51.3%, 0%, 26.7%)
CIE-LABlab(48.72, 41.07, -41.73)
CIE-LCHlch(48.72, 58.55, 314.54°)
OKLaboklab(57.5% 0.0974 -0.1167)
OKLCHoklch(57.5% 0.152 309.8)
XYZxyz(24.9218, 17.3663, 49.0432)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BBB #82BB5B
analogous
#645BBB #945BBB #BB5BB2
triadic
#945BBB #BB945B #5BBB94
tetradic
#945BBB #BB645B #82BB5B #5BB2BB
square
#945BBB #BB645B #82BB5B #5BB2BB
split-complementary
#945BBB #B2BB5B #5BBB64
monochromatic
#542E6E #754099 #945BBB #B086CD #CCB2DF

Accessibility & contrast

On white

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

On black

4.47
#945BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##945BBB#FFFFFF#000000##FFFFFF
##945BBB1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#8F6B82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #945bbb;
/* rgb */ color: rgb(148, 91, 187);
/* oklch */ color: oklch(57.5% 0.152 309.8);
Tailwind
colors: {
  custom: {
    50: '#b68bd0',
    500: '#945bbb',
    950: '#000000',
  },
}
SCSS
$custom: #945bbb;
$custom-light: #b68bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#945bbb",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 275.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.15203,
    "h": 309.8
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#945BBB
secondary
#B5CDA5
accent
#D15788
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #945BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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