#9767C8#9767C8

#9767C8 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.149 H 305.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9767C8
RGBrgb(151, 103, 200)
HSLhsl(270, 47%, 59%)
HSVhsv(270, 49%, 78%)
CMYKcmyk(24.5%, 48.5%, 0%, 21.6%)
CIE-LABlab(52.34, 38.26, -43.45)
CIE-LCHlch(52.34, 57.89, 311.36°)
OKLaboklab(60.49% 0.086 -0.1217)
OKLCHoklch(60.49% 0.149 305.2)
XYZxyz(28.0359, 20.4501, 57.1027)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767C8 #98C867
analogous
#6768C8 #9767C8 #C867C8
triadic
#9767C8 #C89767 #67C897
tetradic
#9767C8 #C86768 #98C867 #67C8C8
square
#9767C8 #C86768 #98C867 #67C8C8
split-complementary
#9767C8 #C8C867 #68C867
monochromatic
#5A3085 #7840B2 #9767C8 #B694D8 #D4C1E9

Accessibility & contrast

On white

4.13
#9767C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9767C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767C8#FFFFFF#000000##000000
##9767C81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#8F788E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9767c8;
/* rgb */ color: rgb(151, 103, 200);
/* oklch */ color: oklch(60.5% 0.149 305.2);
Tailwind
colors: {
  custom: {
    50: '#b893d9',
    500: '#9767c8',
    950: '#000000',
  },
}
SCSS
$custom: #9767c8;
$custom-light: #b893d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9767c8",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 269.691,
    "s": 46.86,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.14901,
    "h": 305.2
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#9767C8
secondary
#C6D8B3
accent
#D65195
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9767C8

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

Preview Lab → · Contrast checker → · Palette generator →

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