#9768EF#9768EF

#9768EF is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.195 H 296.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9768EF
RGBrgb(151, 104, 239)
HSLhsl(261, 81%, 67%)
HSVhsv(261, 56%, 94%)
CMYKcmyk(36.8%, 56.5%, 0%, 6.3%)
CIE-LABlab(54.77, 47.38, -61.61)
CIE-LCHlch(54.77, 77.72, 307.57°)
OKLaboklab(63.01% 0.0869 -0.1749)
OKLCHoklch(63.01% 0.195 296.4)
XYZxyz(33.2888, 22.7114, 84.2745)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768EF #C0EF68
analogous
#687DEF #9768EF #DB68EF
triadic
#9768EF #EF9768 #68EF97
tetradic
#9768EF #EF687D #C0EF68 #68EFDB
square
#9768EF #EF687D #C0EF68 #68EFDB
split-complementary
#9768EF #EFDB68 #7DEF68
monochromatic
#5315C7 #7131E9 #9768EF #BD9FF5 #E3D7FB

Accessibility & contrast

On white

3.79
#9768EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9768EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768EF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768EF#FFFFFF#000000##000000
##9768EF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F3
Deuteranopia (green-blind)
#3581EC
Tritanopia (blue-blind)
#8284A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9768ef;
/* rgb */ color: rgb(151, 104, 239);
/* oklch */ color: oklch(63.0% 0.195 296.4);
Tailwind
colors: {
  custom: {
    50: '#ba95f5',
    500: '#9768ef',
    950: '#000000',
  },
}
SCSS
$custom: #9768ef;
$custom-light: #ba95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9768ef",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 260.889,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63007,
    "c": 0.19527,
    "h": 296.4
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#9768EF
secondary
#E0EFC4
accent
#DD0893
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9768EF

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

Preview Lab → · Contrast checker → · Palette generator →

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