#9768E2#9768E2

#9768E2 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.2% C 0.179 H 298.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9768E2
RGBrgb(151, 104, 226)
HSLhsl(263, 68%, 65%)
HSVhsv(263, 54%, 89%)
CMYKcmyk(33.2%, 54%, 0%, 11.4%)
CIE-LABlab(54.00, 44.08, -55.57)
CIE-LCHlch(54.00, 70.93, 308.42°)
OKLaboklab(62.18% 0.0866 -0.1572)
OKLCHoklch(62.18% 0.179 298.9)
XYZxyz(31.4369, 21.9706, 74.5213)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768E2 #B3E268
analogous
#6876E2 #9768E2 #D468E2
triadic
#9768E2 #E29768 #68E297
tetradic
#9768E2 #E26876 #B3E268 #68E2D4
square
#9768E2 #E26876 #B3E268 #68E2D4
split-complementary
#9768E2 #E2D468 #76E268
monochromatic
#5821AE #7435D8 #9768E2 #BA9BEC #DECFF6

Accessibility & contrast

On white

3.89
#9768E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9768E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768E2#FFFFFF#000000##000000
##9768E21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#4580DF
Tritanopia (blue-blind)
#87809B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9768e2;
/* rgb */ color: rgb(151, 104, 226);
/* oklch */ color: oklch(62.2% 0.179 298.9);
Tailwind
colors: {
  custom: {
    50: '#b994ec',
    500: '#9768e2',
    950: '#000000',
  },
}
SCSS
$custom: #9768e2;
$custom-light: #b994ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9768e2",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 263.115,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62184,
    "c": 0.17945,
    "h": 298.9
  },
  "luminance": 0.21971
}

Semantic roles & 50–950 ramp

primary
#9768E2
secondary
#D8E8BE
accent
#D01688
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9768E2

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

Preview Lab → · Contrast checker → · Palette generator →

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