#946BB9#946BB9

#946BB9 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.123 H 307.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#946BB9
RGBrgb(148, 107, 185)
HSLhsl(272, 36%, 57%)
HSVhsv(272, 42%, 73%)
CMYKcmyk(20%, 42.2%, 0%, 27.5%)
CIE-LABlab(52.19, 31.59, -35.10)
CIE-LCHlch(52.19, 47.22, 311.99°)
OKLaboklab(60.06% 0.0743 -0.0976)
OKLCHoklch(60.06% 0.123 307.3)
XYZxyz(26.2257, 20.3143, 48.4290)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BB9 #90B96B
analogous
#6D6BB9 #946BB9 #B96BB7
triadic
#946BB9 #B9946B #6BB994
tetradic
#946BB9 #B96D6B #90B96B #6BB7B9
square
#946BB9 #B96D6B #90B96B #6BB7B9
split-complementary
#946BB9 #B7B96B #6BB96D
monochromatic
#563673 #764A9D #946BB9 #B295CD #D0BEE0

Accessibility & contrast

On white

4.15
#946BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#946BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946BB9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946BB9#FFFFFF#000000##000000
##946BB91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBC
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#8F7789
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #946bb9;
/* rgb */ color: rgb(148, 107, 185);
/* oklch */ color: oklch(60.1% 0.123 307.3);
Tailwind
colors: {
  custom: {
    50: '#b596ce',
    500: '#946bb9',
    950: '#000000',
  },
}
SCSS
$custom: #946bb9;
$custom-light: #b596ce;
$custom-dark: #000000;
JSON
{
  "hex": "#946bb9",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 271.538,
    "s": 35.78,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60063,
    "c": 0.12263,
    "h": 307.3
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#946BB9
secondary
#BFD0B0
accent
#CC5C91
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #946BB9

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

Preview Lab → · Contrast checker → · Palette generator →

#946BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva