#9767B7#9767B7

#9767B7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.6% C 0.128 H 310.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9767B7
RGBrgb(151, 103, 183)
HSLhsl(276, 36%, 56%)
HSVhsv(276, 44%, 72%)
CMYKcmyk(17.5%, 43.7%, 0%, 28.2%)
CIE-LABlab(51.50, 34.31, -35.01)
CIE-LCHlch(51.50, 49.02, 314.42°)
OKLaboklab(59.58% 0.0835 -0.0972)
OKLCHoklch(59.58% 0.128 310.7)
XYZxyz(26.1585, 19.6991, 47.2149)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767B7 #87B767
analogous
#6F67B7 #9767B7 #B767AF
triadic
#9767B7 #B79767 #67B797
tetradic
#9767B7 #B76F67 #87B767 #67AFB7
square
#9767B7 #B76F67 #87B767 #67AFB7
split-complementary
#9767B7 #AFB767 #67B76F
monochromatic
#58356F #784899 #9767B7 #B391CB #D0BADE

Accessibility & contrast

On white

4.25
#9767B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9767B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767B7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767B7#FFFFFF#000000##000000
##9767B71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5678BA
Deuteranopia (green-blind)
#627CB5
Tritanopia (blue-blind)
#937386
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9767b7;
/* rgb */ color: rgb(151, 103, 183);
/* oklch */ color: oklch(59.6% 0.128 310.7);
Tailwind
colors: {
  custom: {
    50: '#b793cd',
    500: '#9767b7',
    950: '#000000',
  },
}
SCSS
$custom: #9767b7;
$custom-light: #b793cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9767b7",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 183
  },
  "hsl": {
    "h": 276,
    "s": 35.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59582,
    "c": 0.12814,
    "h": 310.7
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#9767B7
secondary
#BACDAC
accent
#CC5C89
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #9767B7

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

Preview Lab → · Contrast checker → · Palette generator →

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