#9768DC#9768DC

#9768DC is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.172 H 300.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9768DC
RGBrgb(151, 104, 220)
HSLhsl(264, 62%, 64%)
HSVhsv(264, 53%, 86%)
CMYKcmyk(31.4%, 52.7%, 0%, 13.7%)
CIE-LABlab(53.65, 42.57, -52.74)
CIE-LCHlch(53.65, 67.78, 308.91°)
OKLaboklab(61.82% 0.0864 -0.1489)
OKLCHoklch(61.82% 0.172 300.1)
XYZxyz(30.6280, 21.6471, 70.2610)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768DC #ADDC68
analogous
#6873DC #9768DC #D168DC
triadic
#9768DC #DC9768 #68DC97
tetradic
#9768DC #DC6873 #ADDC68 #68DCD1
square
#9768DC #DC6873 #ADDC68 #68DCD1
split-complementary
#9768DC #DCD168 #73DC68
monochromatic
#5926A4 #7536D0 #9768DC #B99AE8 #DBCBF3

Accessibility & contrast

On white

3.94
#9768DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9768DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768DC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768DC#FFFFFF#000000##000000
##9768DC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E0
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#897E98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9768dc;
/* rgb */ color: rgb(151, 104, 220);
/* oklch */ color: oklch(61.8% 0.172 300.1);
Tailwind
colors: {
  custom: {
    50: '#b994e7',
    500: '#9768dc',
    950: '#000000',
  },
}
SCSS
$custom: #9768dc;
$custom-light: #b994e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9768dc",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 264.31,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.17209,
    "h": 300.1
  },
  "luminance": 0.21647
}

Semantic roles & 50–950 ramp

primary
#9768DC
secondary
#D4E4BB
accent
#CA1B83
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9768DC

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

Preview Lab → · Contrast checker → · Palette generator →

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