#936AAA#936AAA

#936AAA is a mid, moderate violet. Relative luminance 0.194; OKLCH L 59.0% C 0.105 H 312.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#936AAA
RGBrgb(147, 106, 170)
HSLhsl(278, 27%, 54%)
HSVhsv(278, 38%, 67%)
CMYKcmyk(13.5%, 37.6%, 0%, 33.3%)
CIE-LABlab(51.17, 28.44, -28.01)
CIE-LCHlch(51.17, 39.91, 315.44°)
OKLaboklab(59.04% 0.0714 -0.0772)
OKLCHoklch(59.04% 0.105 312.8)
XYZxyz(24.4411, 19.4138, 40.4821)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#936AAA #81AA6A
analogous
#736AAA #936AAA #AA6AA1
triadic
#936AAA #AA936A #6AAA93
tetradic
#936AAA #AA736A #81AA6A #6AA1AA
square
#936AAA #AA736A #81AA6A #6AA1AA
split-complementary
#936AAA #A1AA6A #6AAA73
monochromatic
#533862 #744E89 #936AAA #AF91C0 #CBB8D6

Accessibility & contrast

On white

4.30
#936AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#936AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #936AAA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##936AAA#FFFFFF#000000##000000
##936AAA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AC
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#917382
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #936aaa;
/* rgb */ color: rgb(147, 106, 170);
/* oklch */ color: oklch(59.0% 0.105 312.8);
Tailwind
colors: {
  custom: {
    50: '#b395c3',
    500: '#936aaa',
    950: '#000000',
  },
}
SCSS
$custom: #936aaa;
$custom-light: #b395c3;
$custom-dark: #000000;
JSON
{
  "hex": "#936aaa",
  "rgb": {
    "r": 147,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 278.438,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.10515,
    "h": 312.8
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#936AAA
secondary
#B4C6AA
accent
#C46486
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D12
muted
#807E81

Preview Lab

Preview with #936AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#936AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva