#946BB7#946BB7

#946BB7 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.120 H 308.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#946BB7
RGBrgb(148, 107, 183)
HSLhsl(272, 35%, 57%)
HSVhsv(272, 42%, 72%)
CMYKcmyk(19.1%, 41.5%, 0%, 28.2%)
CIE-LABlab(52.10, 31.12, -34.09)
CIE-LCHlch(52.10, 46.16, 312.39°)
OKLaboklab(59.96% 0.0739 -0.0946)
OKLCHoklch(59.96% 0.12 308)
XYZxyz(26.0160, 20.2305, 47.3249)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BB7 #8EB76B
analogous
#6E6BB7 #946BB7 #B76BB4
triadic
#946BB7 #B7946B #6BB794
tetradic
#946BB7 #B76E6B #8EB76B #6BB4B7
square
#946BB7 #B76E6B #8EB76B #6BB4B7
split-complementary
#946BB7 #B4B76B #6BB76E
monochromatic
#563771 #764B9A #946BB7 #B294CB #D0BDDF

Accessibility & contrast

On white

4.16
#946BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#946BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946BB7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946BB7#FFFFFF#000000##000000
##946BB71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBA
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#8F7788
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #946bb7;
/* rgb */ color: rgb(148, 107, 183);
/* oklch */ color: oklch(60.0% 0.120 308.0);
Tailwind
colors: {
  custom: {
    50: '#b596cd',
    500: '#946bb7',
    950: '#000000',
  },
}
SCSS
$custom: #946bb7;
$custom-light: #b596cd;
$custom-dark: #000000;
JSON
{
  "hex": "#946bb7",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 272.368,
    "s": 34.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.12009,
    "h": 308
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#946BB7
secondary
#BECEAF
accent
#CB5D90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #946BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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