#9768CD#9768CD

#9768CD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.9% C 0.154 H 303.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9768CD
RGBrgb(151, 104, 205)
HSLhsl(268, 50%, 61%)
HSVhsv(268, 49%, 80%)
CMYKcmyk(26.3%, 49.3%, 0%, 19.6%)
CIE-LABlab(52.83, 38.89, -45.54)
CIE-LCHlch(52.83, 59.89, 310.50°)
OKLaboklab(60.94% 0.0851 -0.1278)
OKLCHoklch(60.94% 0.154 303.7)
XYZxyz(28.7299, 20.8878, 60.2640)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768CD #9ECD68
analogous
#686BCD #9768CD #CA68CD
triadic
#9768CD #CD9768 #68CD97
tetradic
#9768CD #CD686B #9ECD68 #68CDCA
square
#9768CD #CD686B #9ECD68 #68CDCA
split-complementary
#9768CD #CDCA68 #6BCD68
monochromatic
#5A2E8C #783EBA #9768CD #B796DC #D6C4EB

Accessibility & contrast

On white

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

On black

5.18
#9768CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768CD#FFFFFF#000000##000000
##9768CD1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#8E7A91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9768cd;
/* rgb */ color: rgb(151, 104, 205);
/* oklch */ color: oklch(60.9% 0.154 303.7);
Tailwind
colors: {
  custom: {
    50: '#b894dd',
    500: '#9768cd',
    950: '#000000',
  },
}
SCSS
$custom: #9768cd;
$custom-light: #b894dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9768cd",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 267.921,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.15357,
    "h": 303.7
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

primary
#9768CD
secondary
#CADCB5
accent
#BE2878
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9768CD

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

Preview Lab → · Contrast checker → · Palette generator →

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