#9789B2#9789B2

#9789B2 is a light, moderate violet. Relative luminance 0.277; OKLCH L 65.7% C 0.062 H 300.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9789B2
RGBrgb(151, 137, 178)
HSLhsl(260, 21%, 62%)
HSVhsv(260, 23%, 70%)
CMYKcmyk(15.2%, 23%, 0%, 30.2%)
CIE-LABlab(59.60, 13.58, -19.60)
CIE-LCHlch(59.60, 23.84, 304.72°)
OKLaboklab(65.7% 0.0313 -0.0535)
OKLCHoklch(65.7% 0.062 300.3)
XYZxyz(29.7424, 27.6849, 45.8877)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9789B2 #A4B289
analogous
#8990B2 #9789B2 #AC89B2
triadic
#9789B2 #B29789 #89B297
tetradic
#9789B2 #B28990 #A4B289 #89B2AC
square
#9789B2 #B28990 #A4B289 #89B2AC
split-complementary
#9789B2 #B2AC89 #90B289
monochromatic
#5A4C75 #76649A #9789B2 #B8AECA #D8D3E2

Accessibility & contrast

On white

3.21
#9789B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9789B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9789B2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9789B2#FFFFFF#000000##000000
##9789B21.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#838FB1
Tritanopia (blue-blind)
#938F97
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9789b2;
/* rgb */ color: rgb(151, 137, 178);
/* oklch */ color: oklch(65.7% 0.062 300.3);
Tailwind
colors: {
  custom: {
    50: '#b6abc9',
    500: '#9789b2',
    950: '#000000',
  },
}
SCSS
$custom: #9789b2;
$custom-light: #b6abc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9789b2",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 178
  },
  "hsl": {
    "h": 260.488,
    "s": 21.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65695,
    "c": 0.06196,
    "h": 300.3
  },
  "luminance": 0.27685
}

Semantic roles & 50–950 ramp

primary
#9789B2
secondary
#CED3C4
accent
#9F4681
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #9789B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9789B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva