#9768BD#9768BD

#9768BD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.1% C 0.134 H 308.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9768BD
RGBrgb(151, 104, 189)
HSLhsl(273, 39%, 57%)
HSVhsv(273, 45%, 74%)
CMYKcmyk(20.1%, 45%, 0%, 25.9%)
CIE-LABlab(52.01, 35.11, -37.66)
CIE-LCHlch(52.01, 51.49, 312.99°)
OKLaboklab(60.06% 0.083 -0.1049)
OKLCHoklch(60.06% 0.134 308.4)
XYZxyz(26.8964, 20.1544, 50.6075)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768BD #8EBD68
analogous
#6C68BD #9768BD #BD68B9
triadic
#9768BD #BD9768 #68BD97
tetradic
#9768BD #BD6C68 #8EBD68 #68B9BD
square
#9768BD #BD6C68 #8EBD68 #68B9BD
split-complementary
#9768BD #B9BD68 #68BD6C
monochromatic
#593477 #7947A1 #9768BD #B493D0 #D2BDE2

Accessibility & contrast

On white

4.17
#9768BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9768BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768BD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768BD#FFFFFF#000000##000000
##9768BD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#927689
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9768bd;
/* rgb */ color: rgb(151, 104, 189);
/* oklch */ color: oklch(60.1% 0.134 308.4);
Tailwind
colors: {
  custom: {
    50: '#b794d1',
    500: '#9768bd',
    950: '#000000',
  },
}
SCSS
$custom: #9768bd;
$custom-light: #b794d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9768bd",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 273.176,
    "s": 39.171,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.13378,
    "h": 308.4
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#9768BD
secondary
#BFD2AF
accent
#CF598E
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9768BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9768BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva