#946BB2#946BB2

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

Color values

HEX#946BB2
RGBrgb(148, 107, 178)
HSLhsl(275, 32%, 56%)
HSVhsv(275, 40%, 70%)
CMYKcmyk(16.9%, 39.9%, 0%, 30.2%)
CIE-LABlab(51.87, 29.97, -31.56)
CIE-LCHlch(51.87, 43.52, 313.52°)
OKLaboklab(59.71% 0.0729 -0.0873)
OKLCHoklch(59.71% 0.114 309.9)
XYZxyz(25.5049, 20.0260, 44.6327)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BB2 #89B26B
analogous
#706BB2 #946BB2 #B26BAC
triadic
#946BB2 #B2946B #6BB294
tetradic
#946BB2 #B2706B #89B26B #6BACB2
square
#946BB2 #B2706B #89B26B #6BACB2
split-complementary
#946BB2 #ACB26B #6BB270
monochromatic
#55386B #754D93 #946BB2 #B193C7 #CEBCDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##946BB2#FFFFFF#000000##000000
##946BB21.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#907586
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #946bb2;
/* rgb */ color: rgb(148, 107, 178);
/* oklch */ color: oklch(59.7% 0.114 309.9);
Tailwind
colors: {
  custom: {
    50: '#b496c9',
    500: '#946bb2',
    950: '#000000',
  },
}
SCSS
$custom: #946bb2;
$custom-light: #b496c9;
$custom-dark: #000000;
JSON
{
  "hex": "#946bb2",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 274.648,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.11378,
    "h": 309.9
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#946BB2
secondary
#BACBAE
accent
#C8608C
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #946BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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