#9768E7#9768E7

#9768E7 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.5% C 0.186 H 297.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9768E7
RGBrgb(151, 104, 231)
HSLhsl(262, 73%, 66%)
HSVhsv(262, 55%, 91%)
CMYKcmyk(34.6%, 55%, 0%, 9.4%)
CIE-LABlab(54.29, 45.34, -57.91)
CIE-LCHlch(54.29, 73.55, 308.06°)
OKLaboklab(62.5% 0.0868 -0.164)
OKLCHoklch(62.5% 0.186 297.9)
XYZxyz(32.1330, 22.2491, 78.1874)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768E7 #B8E768
analogous
#6878E7 #9768E7 #D668E7
triadic
#9768E7 #E79768 #68E797
tetradic
#9768E7 #E76878 #B8E768 #68E7D6
square
#9768E7 #E76878 #B8E768 #68E7D6
split-complementary
#9768E7 #E7D668 #78E768
monochromatic
#561DB7 #7333DF #9768E7 #BB9DEF #E0D2F8

Accessibility & contrast

On white

3.85
#9768E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9768E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768E7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768E7#FFFFFF#000000##000000
##9768E71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#4080E4
Tritanopia (blue-blind)
#85829E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9768e7;
/* rgb */ color: rgb(151, 104, 231);
/* oklch */ color: oklch(62.5% 0.186 297.9);
Tailwind
colors: {
  custom: {
    50: '#ba94ef',
    500: '#9768e7',
    950: '#000000',
  },
}
SCSS
$custom: #9768e7;
$custom-light: #ba94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9768e7",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 262.205,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62496,
    "c": 0.18556,
    "h": 297.9
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#9768E7
secondary
#DBEBC0
accent
#D5118C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9768E7

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

Preview Lab → · Contrast checker → · Palette generator →

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