#9767DF#9767DF

#9767DF is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.177 H 299.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9767DF
RGBrgb(151, 103, 223)
HSLhsl(264, 65%, 64%)
HSVhsv(264, 54%, 87%)
CMYKcmyk(32.3%, 53.8%, 0%, 12.5%)
CIE-LABlab(53.61, 43.88, -54.50)
CIE-LCHlch(53.61, 69.97, 308.84°)
OKLaboklab(61.84% 0.0878 -0.154)
OKLCHoklch(61.84% 0.177 299.7)
XYZxyz(30.9288, 21.6073, 72.3389)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767DF #AFDF67
analogous
#6773DF #9767DF #D367DF
triadic
#9767DF #DF9767 #67DF97
tetradic
#9767DF #DF6773 #AFDF67 #67DFD3
square
#9767DF #DF6773 #AFDF67 #67DFD3
split-complementary
#9767DF #DFD367 #73DF67
monochromatic
#5923A8 #7434D4 #9767DF #BA9AEA #DCCCF4

Accessibility & contrast

On white

3.95
#9767DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9767DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767DF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767DF#FFFFFF#000000##000000
##9767DF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3780E3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#887F99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9767df;
/* rgb */ color: rgb(151, 103, 223);
/* oklch */ color: oklch(61.8% 0.177 299.7);
Tailwind
colors: {
  custom: {
    50: '#b994ea',
    500: '#9767df',
    950: '#000000',
  },
}
SCSS
$custom: #9767df;
$custom-light: #b994ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9767df",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 264,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.17727,
    "h": 299.7
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#9767DF
secondary
#D5E6BC
accent
#CD1885
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9767DF

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

Preview Lab → · Contrast checker → · Palette generator →

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