#9767DC#9767DC

#9767DC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.174 H 300.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9767DC
RGBrgb(151, 103, 220)
HSLhsl(265, 63%, 63%)
HSVhsv(265, 53%, 86%)
CMYKcmyk(31.4%, 53.2%, 0%, 13.7%)
CIE-LABlab(53.44, 43.13, -53.09)
CIE-LCHlch(53.44, 68.40, 309.09°)
OKLaboklab(61.66% 0.0876 -0.1499)
OKLCHoklch(61.66% 0.174 300.3)
XYZxyz(30.5280, 21.4469, 70.2276)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767DC #ACDC67
analogous
#6771DC #9767DC #D167DC
triadic
#9767DC #DC9767 #67DC97
tetradic
#9767DC #DC6771 #ACDC67 #67DCD1
square
#9767DC #DC6771 #ACDC67 #67DCD1
split-complementary
#9767DC #DCD167 #71DC67
monochromatic
#5926A3 #7535D1 #9767DC #B999E7 #DBCAF3

Accessibility & contrast

On white

3.97
#9767DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9767DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767DC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767DC#FFFFFF#000000##000000
##9767DC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FE0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#897E98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9767dc;
/* rgb */ color: rgb(151, 103, 220);
/* oklch */ color: oklch(61.7% 0.174 300.3);
Tailwind
colors: {
  custom: {
    50: '#b994e7',
    500: '#9767dc',
    950: '#000000',
  },
}
SCSS
$custom: #9767dc;
$custom-light: #b994e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9767dc",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 264.615,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.17361,
    "h": 300.3
  },
  "luminance": 0.21447
}

Semantic roles & 50–950 ramp

primary
#9767DC
secondary
#D3E4BB
accent
#CA1B82
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9767DC

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

Preview Lab → · Contrast checker → · Palette generator →

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