#9768DB#9768DB

#9768DB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.171 H 300.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9768DB
RGBrgb(151, 104, 219)
HSLhsl(265, 61%, 63%)
HSVhsv(265, 53%, 86%)
CMYKcmyk(31.1%, 52.5%, 0%, 14.1%)
CIE-LABlab(53.59, 42.33, -52.27)
CIE-LCHlch(53.59, 67.26, 309.00°)
OKLaboklab(61.76% 0.0863 -0.1475)
OKLCHoklch(61.76% 0.171 300.3)
XYZxyz(30.4960, 21.5942, 69.5656)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768DB #ACDB68
analogous
#6872DB #9768DB #D068DB
triadic
#9768DB #DB9768 #68DB97
tetradic
#9768DB #DB6872 #ACDB68 #68DBD0
square
#9768DB #DB6872 #ACDB68 #68DBD0
split-complementary
#9768DB #DBD068 #72DB68
monochromatic
#5927A2 #7537CF #9768DB #B999E7 #DBCBF3

Accessibility & contrast

On white

3.95
#9768DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9768DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768DB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768DB#FFFFFF#000000##000000
##9768DB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#897E98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9768db;
/* rgb */ color: rgb(151, 104, 219);
/* oklch */ color: oklch(61.8% 0.171 300.3);
Tailwind
colors: {
  custom: {
    50: '#b994e7',
    500: '#9768db',
    950: '#000000',
  },
}
SCSS
$custom: #9768db;
$custom-light: #b994e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9768db",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 264.522,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.17086,
    "h": 300.3
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#9768DB
secondary
#D3E4BB
accent
#C91C83
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9768DB

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

Preview Lab → · Contrast checker → · Palette generator →

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