#9768EB#9768EB

#9768EB is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.7% C 0.190 H 297.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9768EB
RGBrgb(151, 104, 235)
HSLhsl(262, 77%, 66%)
HSVhsv(262, 56%, 92%)
CMYKcmyk(35.7%, 55.7%, 0%, 7.8%)
CIE-LABlab(54.53, 46.36, -59.76)
CIE-LCHlch(54.53, 75.64, 307.80°)
OKLaboklab(62.75% 0.0869 -0.1695)
OKLCHoklch(62.75% 0.19 297.1)
XYZxyz(32.7044, 22.4776, 81.1967)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768EB #BCEB68
analogous
#687BEB #9768EB #D968EB
triadic
#9768EB #EB9768 #68EB97
tetradic
#9768EB #EB687B #BCEB68 #68EBD9
square
#9768EB #EB687B #BCEB68 #68EBD9
split-complementary
#9768EB #EBD968 #7BEB68
monochromatic
#5519BF #7232E4 #9768EB #BC9EF2 #E1D4F9

Accessibility & contrast

On white

3.82
#9768EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9768EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768EB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768EB#FFFFFF#000000##000000
##9768EB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#8483A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9768eb;
/* rgb */ color: rgb(151, 104, 235);
/* oklch */ color: oklch(62.7% 0.190 297.1);
Tailwind
colors: {
  custom: {
    50: '#ba95f2',
    500: '#9768eb',
    950: '#000000',
  },
}
SCSS
$custom: #9768eb;
$custom-light: #ba95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9768eb",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 261.527,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.19043,
    "h": 297.1
  },
  "luminance": 0.22478
}

Semantic roles & 50–950 ramp

primary
#9768EB
secondary
#DDEDC2
accent
#D90D90
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9768EB

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

Preview Lab → · Contrast checker → · Palette generator →

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