#9767D7#9767D7

#9767D7 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.167 H 301.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9767D7
RGBrgb(151, 103, 215)
HSLhsl(266, 58%, 62%)
HSVhsv(266, 52%, 84%)
CMYKcmyk(29.8%, 52.1%, 0%, 15.7%)
CIE-LABlab(53.15, 41.89, -50.71)
CIE-LCHlch(53.15, 65.77, 309.56°)
OKLaboklab(61.36% 0.0873 -0.1429)
OKLCHoklch(61.36% 0.167 301.4)
XYZxyz(29.8757, 21.1860, 66.7922)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767D7 #A7D767
analogous
#676FD7 #9767D7 #CF67D7
triadic
#9767D7 #D79767 #67D797
tetradic
#9767D7 #D7676F #A7D767 #67D7CF
square
#9767D7 #D7676F #A7D767 #67D7CF
split-complementary
#9767D7 #D7CF67 #6FD767
monochromatic
#5A299B #7637CA #9767D7 #B897E4 #D9C8F0

Accessibility & contrast

On white

4.01
#9767D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9767D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767D7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767D7#FFFFFF#000000##000000
##9767D71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDB
Deuteranopia (green-blind)
#4E7ED4
Tritanopia (blue-blind)
#8B7C95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9767d7;
/* rgb */ color: rgb(151, 103, 215);
/* oklch */ color: oklch(61.4% 0.167 301.4);
Tailwind
colors: {
  custom: {
    50: '#b994e4',
    500: '#9767d7',
    950: '#000000',
  },
}
SCSS
$custom: #9767d7;
$custom-light: #b994e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9767d7",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 215
  },
  "hsl": {
    "h": 265.714,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.16748,
    "h": 301.4
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#9767D7
secondary
#D0E1B8
accent
#C6207F
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #9767D7

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

Preview Lab → · Contrast checker → · Palette generator →

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