#946BB1#946BB1

#946BB1 is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.7% C 0.113 H 310.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#946BB1
RGBrgb(148, 107, 177)
HSLhsl(275, 31%, 56%)
HSVhsv(275, 40%, 69%)
CMYKcmyk(16.4%, 39.5%, 0%, 30.6%)
CIE-LABlab(51.82, 29.75, -31.05)
CIE-LCHlch(51.82, 43.00, 313.77°)
OKLaboklab(59.66% 0.0727 -0.0859)
OKLCHoklch(59.66% 0.113 310.2)
XYZxyz(25.4048, 19.9860, 44.1058)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BB1 #88B16B
analogous
#716BB1 #946BB1 #B16BAB
triadic
#946BB1 #B1946B #6BB194
tetradic
#946BB1 #B1716B #88B16B #6BABB1
square
#946BB1 #B1716B #88B16B #6BABB1
split-complementary
#946BB1 #ABB16B #6BB171
monochromatic
#55386A #754D92 #946BB1 #B193C6 #CEBBDB

Accessibility & contrast

On white

4.20
#946BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#946BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946BB1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946BB1#FFFFFF#000000##000000
##946BB11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB4
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#917586
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #946bb1;
/* rgb */ color: rgb(148, 107, 177);
/* oklch */ color: oklch(59.7% 0.113 310.2);
Tailwind
colors: {
  custom: {
    50: '#b496c8',
    500: '#946bb1',
    950: '#000000',
  },
}
SCSS
$custom: #946bb1;
$custom-light: #b496c8;
$custom-dark: #000000;
JSON
{
  "hex": "#946bb1",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 275.143,
    "s": 30.973,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.11253,
    "h": 310.2
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#946BB1
secondary
#B9CAAD
accent
#C7618B
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #946BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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