#9768EC#9768EC

#9768EC is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.8% C 0.192 H 297.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9768EC
RGBrgb(151, 104, 236)
HSLhsl(261, 78%, 67%)
HSVhsv(261, 56%, 93%)
CMYKcmyk(36%, 55.9%, 0%, 7.5%)
CIE-LABlab(54.59, 46.62, -60.22)
CIE-LCHlch(54.59, 76.16, 307.74°)
OKLaboklab(62.81% 0.0869 -0.1708)
OKLCHoklch(62.81% 0.192 297)
XYZxyz(32.8493, 22.5356, 81.9597)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768EC #BDEC68
analogous
#687BEC #9768EC #D968EC
triadic
#9768EC #EC9768 #68EC97
tetradic
#9768EC #EC687B #BDEC68 #68ECD9
square
#9768EC #EC687B #BDEC68 #68ECD9
split-complementary
#9768EC #ECD968 #7BEC68
monochromatic
#5418C1 #7232E5 #9768EC #BC9EF3 #E2D5FA

Accessibility & contrast

On white

3.81
#9768EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9768EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768EC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768EC#FFFFFF#000000##000000
##9768EC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#8383A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9768ec;
/* rgb */ color: rgb(151, 104, 236);
/* oklch */ color: oklch(62.8% 0.192 297.0);
Tailwind
colors: {
  custom: {
    50: '#ba95f3',
    500: '#9768ec',
    950: '#000000',
  },
}
SCSS
$custom: #9768ec;
$custom-light: #ba95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9768ec",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 261.364,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.19164,
    "h": 297
  },
  "luminance": 0.22536
}

Semantic roles & 50–950 ramp

primary
#9768EC
secondary
#DEEDC3
accent
#DA0C90
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9768EC

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

Preview Lab → · Contrast checker → · Palette generator →

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