#9768E8#9768E8

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

Color values

HEX#9768E8
RGBrgb(151, 104, 232)
HSLhsl(262, 74%, 66%)
HSVhsv(262, 55%, 91%)
CMYKcmyk(34.9%, 55.2%, 0%, 9%)
CIE-LABlab(54.35, 45.60, -58.37)
CIE-LCHlch(54.35, 74.07, 307.99°)
OKLaboklab(62.56% 0.0868 -0.1654)
OKLCHoklch(62.56% 0.187 297.7)
XYZxyz(32.2747, 22.3057, 78.9333)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768E8 #B9E868
analogous
#6879E8 #9768E8 #D768E8
triadic
#9768E8 #E89768 #68E897
tetradic
#9768E8 #E86879 #B9E868 #68E8D7
square
#9768E8 #E86879 #B9E868 #68E8D7
split-complementary
#9768E8 #E8D768 #79E868
monochromatic
#561CB9 #7233E0 #9768E8 #BC9DF0 #E0D2F8

Accessibility & contrast

On white

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

On black

5.46
#9768E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768E8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768E8#FFFFFF#000000##000000
##9768E81.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)
#2E82EC
Deuteranopia (green-blind)
#3E81E5
Tritanopia (blue-blind)
#85829E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9768e8;
/* rgb */ color: rgb(151, 104, 232);
/* oklch */ color: oklch(62.6% 0.187 297.7);
Tailwind
colors: {
  custom: {
    50: '#ba95f0',
    500: '#9768e8',
    950: '#000000',
  },
}
SCSS
$custom: #9768e8;
$custom-light: #ba95f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9768e8",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 262.031,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62559,
    "c": 0.18678,
    "h": 297.7
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#9768E8
secondary
#DCEBC1
accent
#D6108D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9768E8

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

Preview Lab → · Contrast checker → · Palette generator →

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