#9768CB#9768CB

#9768CB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.8% C 0.151 H 304.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9768CB
RGBrgb(151, 104, 203)
HSLhsl(268, 49%, 60%)
HSVhsv(268, 49%, 80%)
CMYKcmyk(25.6%, 48.8%, 0%, 20.4%)
CIE-LABlab(52.72, 38.41, -44.57)
CIE-LCHlch(52.72, 58.84, 310.76°)
OKLaboklab(60.83% 0.0849 -0.125)
OKLCHoklch(60.83% 0.151 304.2)
XYZxyz(28.4900, 20.7918, 59.0006)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768CB #9CCB68
analogous
#686ACB #9768CB #C868CB
triadic
#9768CB #CB9768 #68CB97
tetradic
#9768CB #CB686A #9CCB68 #68CBC8
square
#9768CB #CB686A #9CCB68 #68CBC8
split-complementary
#9768CB #CBC868 #6ACB68
monochromatic
#5A2F89 #783FB7 #9768CB #B696DB #D6C3EA

Accessibility & contrast

On white

4.07
#9768CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9768CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768CB#FFFFFF#000000##000000
##9768CB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCE
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#8E7990
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9768cb;
/* rgb */ color: rgb(151, 104, 203);
/* oklch */ color: oklch(60.8% 0.151 304.2);
Tailwind
colors: {
  custom: {
    50: '#b894db',
    500: '#9768cb',
    950: '#000000',
  },
}
SCSS
$custom: #9768cb;
$custom-light: #b894db;
$custom-dark: #000000;
JSON
{
  "hex": "#9768cb",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 268.485,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.15109,
    "h": 304.2
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#9768CB
secondary
#C8DAB4
accent
#BC2976
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9768CB

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

Preview Lab → · Contrast checker → · Palette generator →

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