#9768EA#9768EA

#9768EA is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.189 H 297.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9768EA
RGBrgb(151, 104, 234)
HSLhsl(262, 76%, 66%)
HSVhsv(262, 56%, 92%)
CMYKcmyk(35.5%, 55.6%, 0%, 8.2%)
CIE-LABlab(54.47, 46.10, -59.30)
CIE-LCHlch(54.47, 75.11, 307.86°)
OKLaboklab(62.69% 0.0869 -0.1681)
OKLCHoklch(62.69% 0.189 297.3)
XYZxyz(32.5604, 22.4200, 80.4380)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768EA #BBEA68
analogous
#687AEA #9768EA #D868EA
triadic
#9768EA #EA9768 #68EA97
tetradic
#9768EA #EA687A #BBEA68 #68EAD8
square
#9768EA #EA687A #BBEA68 #68EAD8
split-complementary
#9768EA #EAD868 #7AEA68
monochromatic
#551ABD #7232E3 #9768EA #BC9EF1 #E1D3F9

Accessibility & contrast

On white

3.83
#9768EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9768EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768EA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768EA#FFFFFF#000000##000000
##9768EA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#84839F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9768ea;
/* rgb */ color: rgb(151, 104, 234);
/* oklch */ color: oklch(62.7% 0.189 297.3);
Tailwind
colors: {
  custom: {
    50: '#ba95f1',
    500: '#9768ea',
    950: '#000000',
  },
}
SCSS
$custom: #9768ea;
$custom-light: #ba95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9768ea",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 261.692,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62686,
    "c": 0.18921,
    "h": 297.3
  },
  "luminance": 0.2242
}

Semantic roles & 50–950 ramp

primary
#9768EA
secondary
#DDECC2
accent
#D80E8F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9768EA

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

Preview Lab → · Contrast checker → · Palette generator →

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