#945BBF#945BBF

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

Color values

HEX#945BBF
RGBrgb(148, 91, 191)
HSLhsl(274, 44%, 55%)
HSVhsv(274, 52%, 75%)
CMYKcmyk(22.5%, 52.4%, 0%, 25.1%)
CIE-LABlab(48.93, 41.99, -43.70)
CIE-LCHlch(48.93, 60.60, 313.85°)
OKLaboklab(57.73% 0.0978 -0.1225)
OKLCHoklch(57.73% 0.157 308.6)
XYZxyz(25.3560, 17.5400, 51.3299)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BBF #86BF5B
analogous
#625BBF #945BBF #BF5BB8
triadic
#945BBF #BF945B #5BBF94
tetradic
#945BBF #BF625B #86BF5B #5BB8BF
square
#945BBF #BF625B #86BF5B #5BB8BF
split-complementary
#945BBF #B8BF5B #5BBF62
monochromatic
#552D73 #753E9F #945BBF #B187D0 #CDB3E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##945BBF#FFFFFF#000000##FFFFFF
##945BBF1.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)
#3E72C2
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#8E6C84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #945bbf;
/* rgb */ color: rgb(148, 91, 191);
/* oklch */ color: oklch(57.7% 0.157 308.6);
Tailwind
colors: {
  custom: {
    50: '#b68bd3',
    500: '#945bbf',
    950: '#000000',
  },
}
SCSS
$custom: #945bbf;
$custom-light: #b68bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#945bbf",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 274.2,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.15673,
    "h": 308.6
  },
  "luminance": 0.1754
}

Semantic roles & 50–950 ramp

primary
#945BBF
secondary
#B8D0A6
accent
#D4548B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #945BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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