#9767B2#9767B2

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

Color values

HEX#9767B2
RGBrgb(151, 103, 178)
HSLhsl(278, 33%, 55%)
HSVhsv(278, 42%, 70%)
CMYKcmyk(15.2%, 42.1%, 0%, 30.2%)
CIE-LABlab(51.26, 33.18, -32.48)
CIE-LCHlch(51.26, 46.43, 315.61°)
OKLaboklab(59.33% 0.0826 -0.0899)
OKLCHoklch(59.33% 0.122 312.6)
XYZxyz(25.6473, 19.4947, 44.5226)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767B2 #82B267
analogous
#7167B2 #9767B2 #B267A7
triadic
#9767B2 #B29767 #67B297
tetradic
#9767B2 #B27167 #82B267 #67A7B2
square
#9767B2 #B27167 #82B267 #67A7B2
split-complementary
#9767B2 #A7B267 #67B271
monochromatic
#573569 #784A92 #9767B2 #B390C7 #CFB8DB

Accessibility & contrast

On white

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

On black

4.90
#9767B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767B2#FFFFFF#000000##000000
##9767B21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B5
Deuteranopia (green-blind)
#657BB0
Tritanopia (blue-blind)
#957284
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9767b2;
/* rgb */ color: rgb(151, 103, 178);
/* oklch */ color: oklch(59.3% 0.122 312.6);
Tailwind
colors: {
  custom: {
    50: '#b793c9',
    500: '#9767b2',
    950: '#000000',
  },
}
SCSS
$custom: #9767b2;
$custom-light: #b793c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9767b2",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 278.4,
    "s": 32.751,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.12207,
    "h": 312.6
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#9767B2
secondary
#B6CAAB
accent
#C95F85
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9767B2

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

Preview Lab → · Contrast checker → · Palette generator →

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