#946BB3#946BB3

#946BB3 is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.8% C 0.115 H 309.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#946BB3
RGBrgb(148, 107, 179)
HSLhsl(274, 32%, 56%)
HSVhsv(274, 40%, 70%)
CMYKcmyk(17.3%, 40.2%, 0%, 29.8%)
CIE-LABlab(51.91, 30.20, -32.07)
CIE-LCHlch(51.91, 44.05, 313.28°)
OKLaboklab(59.76% 0.0731 -0.0888)
OKLCHoklch(59.76% 0.115 309.5)
XYZxyz(25.6056, 20.0663, 45.1634)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BB3 #8AB36B
analogous
#706BB3 #946BB3 #B36BAE
triadic
#946BB3 #B3946B #6BB394
tetradic
#946BB3 #B3706B #8AB36B #6BAEB3
square
#946BB3 #B3706B #8AB36B #6BAEB3
split-complementary
#946BB3 #AEB36B #6BB370
monochromatic
#55386C #754C95 #946BB3 #B193C8 #CEBCDD

Accessibility & contrast

On white

4.19
#946BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#946BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946BB3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946BB3#FFFFFF#000000##000000
##946BB31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB6
Deuteranopia (green-blind)
#667CB1
Tritanopia (blue-blind)
#907686
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #946bb3;
/* rgb */ color: rgb(148, 107, 179);
/* oklch */ color: oklch(59.8% 0.115 309.5);
Tailwind
colors: {
  custom: {
    50: '#b496ca',
    500: '#946bb3',
    950: '#000000',
  },
}
SCSS
$custom: #946bb3;
$custom-light: #b496ca;
$custom-dark: #000000;
JSON
{
  "hex": "#946bb3",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 274.167,
    "s": 32.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.11504,
    "h": 309.5
  },
  "luminance": 0.20066
}

Semantic roles & 50–950 ramp

primary
#946BB3
secondary
#BBCCAE
accent
#C85F8D
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #946BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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