#9788DB#9788DB

#9788DB is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.4% C 0.121 H 291.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9788DB
RGBrgb(151, 136, 219)
HSLhsl(251, 54%, 70%)
HSVhsv(251, 38%, 86%)
CMYKcmyk(31.1%, 37.9%, 0%, 14.1%)
CIE-LABlab(61.05, 24.05, -40.47)
CIE-LCHlch(61.05, 47.08, 300.72°)
OKLaboklab(67.36% 0.0436 -0.1131)
OKLCHoklch(67.36% 0.121 291.1)
XYZxyz(34.3496, 29.3014, 70.8501)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788DB #CCDB88
analogous
#88A3DB #9788DB #C088DB
triadic
#9788DB #DB9788 #88DB97
tetradic
#9788DB #DB88A3 #CCDB88 #88DBC0
square
#9788DB #DB88A3 #CCDB88 #88DBC0
split-complementary
#9788DB #DBC088 #A3DB88
monochromatic
#4D36B3 #6E59CD #9788DB #C0B7E9 #E9E6F7

Accessibility & contrast

On white

3.06
#9788DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9788DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9788DB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788DB#FFFFFF#000000##000000
##9788DB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#8797A7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9788db;
/* rgb */ color: rgb(151, 136, 219);
/* oklch */ color: oklch(67.4% 0.121 291.1);
Tailwind
colors: {
  custom: {
    50: '#b7aae6',
    500: '#9788db',
    950: '#000000',
  },
}
SCSS
$custom: #9788db;
$custom-light: #b7aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9788db",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 219
  },
  "hsl": {
    "h": 250.843,
    "s": 53.548,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67362,
    "c": 0.12123,
    "h": 291.1
  },
  "luminance": 0.29302
}

Semantic roles & 50–950 ramp

primary
#9788DB
secondary
#E7EBD4
accent
#C124A5
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #9788DB

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

Preview Lab → · Contrast checker → · Palette generator →

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