#9768CC#9768CC

#9768CC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.152 H 303.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9768CC
RGBrgb(151, 104, 204)
HSLhsl(268, 50%, 60%)
HSVhsv(268, 49%, 80%)
CMYKcmyk(26%, 49%, 0%, 20%)
CIE-LABlab(52.77, 38.65, -45.06)
CIE-LCHlch(52.77, 59.36, 310.62°)
OKLaboklab(60.88% 0.085 -0.1264)
OKLCHoklch(60.88% 0.152 303.9)
XYZxyz(28.6095, 20.8397, 59.6303)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768CC #9DCC68
analogous
#686BCC #9768CC #C968CC
triadic
#9768CC #CC9768 #68CC97
tetradic
#9768CC #CC686B #9DCC68 #68CCC9
square
#9768CC #CC686B #9DCC68 #68CCC9
split-complementary
#9768CC #CCC968 #6BCC68
monochromatic
#5A2F8B #783EB8 #9768CC #B796DB #D6C3EB

Accessibility & contrast

On white

4.06
#9768CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9768CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768CC#FFFFFF#000000##000000
##9768CC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#8E7A90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9768cc;
/* rgb */ color: rgb(151, 104, 204);
/* oklch */ color: oklch(60.9% 0.152 303.9);
Tailwind
colors: {
  custom: {
    50: '#b894dc',
    500: '#9768cc',
    950: '#000000',
  },
}
SCSS
$custom: #9768cc;
$custom-light: #b894dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9768cc",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 268.2,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.15234,
    "h": 303.9
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#9768CC
secondary
#C9DBB5
accent
#BD2977
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9768CC

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

Preview Lab → · Contrast checker → · Palette generator →

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