#946BBB#946BBB

#946BBB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.2% C 0.125 H 306.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#946BBB
RGBrgb(148, 107, 187)
HSLhsl(271, 37%, 58%)
HSVhsv(271, 43%, 73%)
CMYKcmyk(20.9%, 42.8%, 0%, 26.7%)
CIE-LABlab(52.29, 32.05, -36.10)
CIE-LCHlch(52.29, 48.28, 311.60°)
OKLaboklab(60.17% 0.0747 -0.1005)
OKLCHoklch(60.17% 0.125 306.6)
XYZxyz(26.4383, 20.3994, 49.5487)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BBB #92BB6B
analogous
#6C6BBB #946BBB #BB6BBA
triadic
#946BBB #BB946B #6BBB94
tetradic
#946BBB #BB6C6B #92BB6B #6BBABB
square
#946BBB #BB6C6B #92BB6B #6BBABB
split-complementary
#946BBB #BABB6B #6BBB6C
monochromatic
#573676 #7549A0 #946BBB #B295CE #D1BFE2

Accessibility & contrast

On white

4.13
#946BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#946BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946BBB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946BBB#FFFFFF#000000##000000
##946BBB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#8E788A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #946bbb;
/* rgb */ color: rgb(148, 107, 187);
/* oklch */ color: oklch(60.2% 0.125 306.6);
Tailwind
colors: {
  custom: {
    50: '#b596d0',
    500: '#946bbb',
    950: '#000000',
  },
}
SCSS
$custom: #946bbb;
$custom-light: #b596d0;
$custom-dark: #000000;
JSON
{
  "hex": "#946bbb",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 270.75,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.12517,
    "h": 306.6
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#946BBB
secondary
#C0D1B1
accent
#CD5B92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #946BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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