#9767B1#9767B1

#9767B1 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.3% C 0.121 H 313.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9767B1
RGBrgb(151, 103, 177)
HSLhsl(279, 32%, 55%)
HSVhsv(279, 42%, 69%)
CMYKcmyk(14.7%, 41.8%, 0%, 30.6%)
CIE-LABlab(51.21, 32.96, -31.97)
CIE-LCHlch(51.21, 45.92, 315.87°)
OKLaboklab(59.28% 0.0824 -0.0885)
OKLCHoklch(59.28% 0.121 313)
XYZxyz(25.5472, 19.4546, 43.9958)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767B1 #81B167
analogous
#7267B1 #9767B1 #B167A6
triadic
#9767B1 #B19767 #67B197
tetradic
#9767B1 #B17267 #81B167 #67A6B1
square
#9767B1 #B17267 #81B167 #67A6B1
split-complementary
#9767B1 #A6B167 #67B172
monochromatic
#563568 #784A91 #9767B1 #B38FC6 #CEB8DB

Accessibility & contrast

On white

4.29
#9767B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9767B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767B1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767B1#FFFFFF#000000##000000
##9767B11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5977B4
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#957284
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9767b1;
/* rgb */ color: rgb(151, 103, 177);
/* oklch */ color: oklch(59.3% 0.121 313.0);
Tailwind
colors: {
  custom: {
    50: '#b793c8',
    500: '#9767b1',
    950: '#000000',
  },
}
SCSS
$custom: #9767b1;
$custom-light: #b793c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9767b1",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 177
  },
  "hsl": {
    "h": 278.919,
    "s": 32.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.12086,
    "h": 313
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#9767B1
secondary
#B5C9AA
accent
#C85F84
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9767B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9767B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva