#9786DB#9786DB

#9786DB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.0% C 0.124 H 291.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9786DB
RGBrgb(151, 134, 219)
HSLhsl(252, 54%, 69%)
HSVhsv(252, 39%, 86%)
CMYKcmyk(31.1%, 38.8%, 0%, 14.1%)
CIE-LABlab(60.55, 25.21, -41.24)
CIE-LCHlch(60.55, 48.34, 301.43°)
OKLaboklab(66.99% 0.0463 -0.1153)
OKLCHoklch(66.99% 0.124 291.9)
XYZxyz(34.0705, 28.7433, 70.7571)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9786DB #CADB86
analogous
#86A0DB #9786DB #C286DB
triadic
#9786DB #DB9786 #86DB97
tetradic
#9786DB #DB86A0 #CADB86 #86DBC2
square
#9786DB #DB86A0 #CADB86 #86DBC2
split-complementary
#9786DB #DBC286 #A0DB86
monochromatic
#4E35B2 #6E57CD #9786DB #C0B5E9 #E8E4F7

Accessibility & contrast

On white

3.11
#9786DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9786DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9786DB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9786DB#FFFFFF#000000##000000
##9786DB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#6E90D9
Tritanopia (blue-blind)
#8795A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9786db;
/* rgb */ color: rgb(151, 134, 219);
/* oklch */ color: oklch(67.0% 0.124 291.9);
Tailwind
colors: {
  custom: {
    50: '#b8a9e6',
    500: '#9786db',
    950: '#000000',
  },
}
SCSS
$custom: #9786db;
$custom-light: #b8a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9786db",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 219
  },
  "hsl": {
    "h": 252,
    "s": 54.14,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.1243,
    "h": 291.9
  },
  "luminance": 0.28744
}

Semantic roles & 50–950 ramp

primary
#9786DB
secondary
#E6EBD2
accent
#C224A2
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #9786DB

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

Preview Lab → · Contrast checker → · Palette generator →

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