#9768BC#9768BC

#9768BC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.0% C 0.133 H 308.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9768BC
RGBrgb(151, 104, 188)
HSLhsl(274, 39%, 57%)
HSVhsv(274, 45%, 74%)
CMYKcmyk(19.7%, 44.7%, 0%, 26.3%)
CIE-LABlab(51.96, 34.88, -37.16)
CIE-LCHlch(51.96, 50.97, 313.19°)
OKLaboklab(60.01% 0.0829 -0.1034)
OKLCHoklch(60.01% 0.133 308.7)
XYZxyz(26.7882, 20.1111, 50.0378)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768BC #8DBC68
analogous
#6D68BC #9768BC #BC68B7
triadic
#9768BC #BC9768 #68BC97
tetradic
#9768BC #BC6D68 #8DBC68 #68B7BC
square
#9768BC #BC6D68 #8DBC68 #68B7BC
split-complementary
#9768BC #B7BC68 #68BC6D
monochromatic
#593475 #7947A0 #9768BC #B492CF #D1BDE2

Accessibility & contrast

On white

4.18
#9768BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9768BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768BC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768BC#FFFFFF#000000##000000
##9768BC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#607DBA
Tritanopia (blue-blind)
#927589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9768bc;
/* rgb */ color: rgb(151, 104, 188);
/* oklch */ color: oklch(60.0% 0.133 308.7);
Tailwind
colors: {
  custom: {
    50: '#b794d0',
    500: '#9768bc',
    950: '#000000',
  },
}
SCSS
$custom: #9768bc;
$custom-light: #b794d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9768bc",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 273.571,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.13255,
    "h": 308.7
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#9768BC
secondary
#BED1AF
accent
#CE598D
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9768BC

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

Preview Lab → · Contrast checker → · Palette generator →

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