#946BB5#946BB5

#946BB5 is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.9% C 0.118 H 308.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#946BB5
RGBrgb(148, 107, 181)
HSLhsl(273, 33%, 56%)
HSVhsv(273, 41%, 71%)
CMYKcmyk(18.2%, 40.9%, 0%, 29%)
CIE-LABlab(52.00, 30.66, -33.08)
CIE-LCHlch(52.00, 45.10, 312.83°)
OKLaboklab(59.86% 0.0735 -0.0917)
OKLCHoklch(59.86% 0.118 308.7)
XYZxyz(25.8094, 20.1478, 46.2364)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BB5 #8CB56B
analogous
#6F6BB5 #946BB5 #B56BB1
triadic
#946BB5 #B5946B #6BB594
tetradic
#946BB5 #B56F6B #8CB56B #6BB1B5
square
#946BB5 #B56F6B #8CB56B #6BB1B5
split-complementary
#946BB5 #B1B56B #6BB56F
monochromatic
#56376E #754C97 #946BB5 #B194C9 #CFBDDE

Accessibility & contrast

On white

4.18
#946BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#946BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946BB5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946BB5#FFFFFF#000000##000000
##946BB51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7AB8
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#907687
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #946bb5;
/* rgb */ color: rgb(148, 107, 181);
/* oklch */ color: oklch(59.9% 0.118 308.7);
Tailwind
colors: {
  custom: {
    50: '#b596cb',
    500: '#946bb5',
    950: '#000000',
  },
}
SCSS
$custom: #946bb5;
$custom-light: #b596cb;
$custom-dark: #000000;
JSON
{
  "hex": "#946bb5",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 273.243,
    "s": 33.333,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.11756,
    "h": 308.7
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#946BB5
secondary
#BCCDAF
accent
#C95E8E
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #946BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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