#9789CD#9789CD

#9789CD is a light, moderate violet. Relative luminance 0.289; OKLCH L 66.9% C 0.100 H 292.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9789CD
RGBrgb(151, 137, 205)
HSLhsl(252, 40%, 67%)
HSVhsv(252, 33%, 80%)
CMYKcmyk(26.3%, 33.2%, 0%, 19.6%)
CIE-LABlab(60.67, 19.95, -33.21)
CIE-LCHlch(60.67, 38.75, 300.99°)
OKLaboklab(66.87% 0.039 -0.0922)
OKLCHoklch(66.87% 0.1 292.9)
XYZxyz(32.7249, 28.8779, 61.5957)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9789CD #BFCD89
analogous
#899DCD #9789CD #B989CD
triadic
#9789CD #CD9789 #89CD97
tetradic
#9789CD #CD899D #BFCD89 #89CDB9
square
#9789CD #CD899D #BFCD89 #89CDB9
split-complementary
#9789CD #CDB989 #9DCD89
monochromatic
#54419A #715EBB #9789CD #BDB4DF #E3DFF1

Accessibility & contrast

On white

3.10
#9789CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9789CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9789CD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9789CD#FFFFFF#000000##000000
##9789CD1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#7991CB
Tritanopia (blue-blind)
#8B95A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9789cd;
/* rgb */ color: rgb(151, 137, 205);
/* oklch */ color: oklch(66.9% 0.100 292.9);
Tailwind
colors: {
  custom: {
    50: '#b7abdc',
    500: '#9789cd',
    950: '#000000',
  },
}
SCSS
$custom: #9789cd;
$custom-light: #b7abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9789cd",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 252.353,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.10009,
    "h": 292.9
  },
  "luminance": 0.28878
}

Semantic roles & 50–950 ramp

primary
#9789CD
secondary
#DFE4CE
accent
#B43299
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #9789CD

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

Preview Lab → · Contrast checker → · Palette generator →

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