#9767EB#9767EB

#9767EB is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.6% C 0.192 H 297.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9767EB
RGBrgb(151, 103, 235)
HSLhsl(262, 77%, 66%)
HSVhsv(262, 56%, 92%)
CMYKcmyk(35.7%, 56.2%, 0%, 7.8%)
CIE-LABlab(54.32, 46.91, -60.10)
CIE-LCHlch(54.32, 76.24, 307.97°)
OKLaboklab(62.6% 0.0881 -0.1704)
OKLCHoklch(62.6% 0.192 297.3)
XYZxyz(32.6044, 22.2775, 81.1634)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767EB #BBEB67
analogous
#6779EB #9767EB #D967EB
triadic
#9767EB #EB9767 #67EB97
tetradic
#9767EB #EB6779 #BBEB67 #67EBD9
square
#9767EB #EB6779 #BBEB67 #67EBD9
split-complementary
#9767EB #EBD967 #79EB67
monochromatic
#5519BF #7231E4 #9767EB #BC9DF2 #E1D3F9

Accessibility & contrast

On white

3.85
#9767EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9767EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767EB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767EB#FFFFFF#000000##000000
##9767EB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2682EF
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#84829F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9767eb;
/* rgb */ color: rgb(151, 103, 235);
/* oklch */ color: oklch(62.6% 0.192 297.3);
Tailwind
colors: {
  custom: {
    50: '#ba94f2',
    500: '#9767eb',
    950: '#000000',
  },
}
SCSS
$custom: #9767eb;
$custom-light: #ba94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9767eb",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 261.818,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62595,
    "c": 0.19186,
    "h": 297.3
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

primary
#9767EB
secondary
#DDECC1
accent
#D90D8F
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9767EB

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

Preview Lab → · Contrast checker → · Palette generator →

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