#946BBD#946BBD

#946BBD is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.3% C 0.128 H 306.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#946BBD
RGBrgb(148, 107, 189)
HSLhsl(270, 38%, 58%)
HSVhsv(270, 43%, 74%)
CMYKcmyk(21.7%, 43.4%, 0%, 25.9%)
CIE-LABlab(52.38, 32.52, -37.10)
CIE-LCHlch(52.38, 49.34, 311.24°)
OKLaboklab(60.27% 0.075 -0.1033)
OKLCHoklch(60.27% 0.128 306)
XYZxyz(26.6539, 20.4856, 50.6842)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946BBD #94BD6B
analogous
#6B6BBD #946BBD #BD6BBD
triadic
#946BBD #BD946B #6BBD94
tetradic
#946BBD #BD6B6B #94BD6B #6BBDBD
square
#946BBD #BD6B6B #94BD6B #6BBDBD
split-complementary
#946BBD #BDBD6B #6BBD6B
monochromatic
#573678 #7548A2 #946BBD #B395D0 #D1C0E3

Accessibility & contrast

On white

4.12
#946BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#946BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946BBD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946BBD#FFFFFF#000000##000000
##946BBD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#577CC0
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#8E788B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #946bbd;
/* rgb */ color: rgb(148, 107, 189);
/* oklch */ color: oklch(60.3% 0.128 306.0);
Tailwind
colors: {
  custom: {
    50: '#b596d1',
    500: '#946bbd',
    950: '#000000',
  },
}
SCSS
$custom: #946bbd;
$custom-light: #b596d1;
$custom-dark: #000000;
JSON
{
  "hex": "#946bbd",
  "rgb": {
    "r": 148,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 38.318,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.1277,
    "h": 306
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#946BBD
secondary
#C2D2B2
accent
#CE5A94
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #946BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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