#9767DB#9767DB

#9767DB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.172 H 300.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9767DB
RGBrgb(151, 103, 219)
HSLhsl(265, 62%, 63%)
HSVhsv(265, 53%, 86%)
CMYKcmyk(31.1%, 53%, 0%, 14.1%)
CIE-LABlab(53.38, 42.88, -52.61)
CIE-LCHlch(53.38, 67.87, 309.18°)
OKLaboklab(61.6% 0.0876 -0.1485)
OKLCHoklch(61.6% 0.172 300.5)
XYZxyz(30.3959, 21.3941, 69.5322)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767DB #ABDB67
analogous
#6771DB #9767DB #D167DB
triadic
#9767DB #DB9767 #67DB97
tetradic
#9767DB #DB6771 #ABDB67 #67DBD1
square
#9767DB #DB6771 #ABDB67 #67DBD1
split-complementary
#9767DB #DBD167 #71DB67
monochromatic
#5926A1 #7536CF #9767DB #B998E7 #DBCAF2

Accessibility & contrast

On white

3.98
#9767DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9767DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767DB#FFFFFF#000000##000000
##9767DB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#897D97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9767db;
/* rgb */ color: rgb(151, 103, 219);
/* oklch */ color: oklch(61.6% 0.172 300.5);
Tailwind
colors: {
  custom: {
    50: '#b994e7',
    500: '#9767db',
    950: '#000000',
  },
}
SCSS
$custom: #9767db;
$custom-light: #b994e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9767db",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 264.828,
    "s": 61.702,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.17238,
    "h": 300.5
  },
  "luminance": 0.21394
}

Semantic roles & 50–950 ramp

primary
#9767DB
secondary
#D2E4BA
accent
#C91C82
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9767DB

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

Preview Lab → · Contrast checker → · Palette generator →

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