#9768E6#9768E6

#9768E6 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.4% C 0.184 H 298.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9768E6
RGBrgb(151, 104, 230)
HSLhsl(262, 72%, 65%)
HSVhsv(262, 55%, 90%)
CMYKcmyk(34.3%, 54.8%, 0%, 9.8%)
CIE-LABlab(54.23, 45.09, -57.44)
CIE-LCHlch(54.23, 73.02, 308.13°)
OKLaboklab(62.43% 0.0868 -0.1626)
OKLCHoklch(62.43% 0.184 298.1)
XYZxyz(31.9922, 22.1927, 77.4457)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768E6 #B7E668
analogous
#6878E6 #9768E6 #D668E6
triadic
#9768E6 #E69768 #68E697
tetradic
#9768E6 #E66878 #B7E668 #68E6D6
square
#9768E6 #E66878 #B7E668 #68E6D6
split-complementary
#9768E6 #E6D668 #78E668
monochromatic
#571EB6 #7333DD #9768E6 #BB9DEF #DFD1F7

Accessibility & contrast

On white

3.86
#9768E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9768E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768E6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768E6#FFFFFF#000000##000000
##9768E61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EA
Deuteranopia (green-blind)
#4180E3
Tritanopia (blue-blind)
#85829D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9768e6;
/* rgb */ color: rgb(151, 104, 230);
/* oklch */ color: oklch(62.4% 0.184 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba94ee',
    500: '#9768e6',
    950: '#000000',
  },
}
SCSS
$custom: #9768e6;
$custom-light: #ba94ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9768e6",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 262.381,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.18435,
    "h": 298.1
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#9768E6
secondary
#DAEAC0
accent
#D4128B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9768E6

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

Preview Lab → · Contrast checker → · Palette generator →

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