#9792D2#9792D2

#9792D2 is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.9% C 0.093 H 287.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9792D2
RGBrgb(151, 146, 210)
HSLhsl(245, 42%, 70%)
HSVhsv(245, 30%, 82%)
CMYKcmyk(28.1%, 30.5%, 0%, 17.6%)
CIE-LABlab(63.17, 16.01, -32.14)
CIE-LCHlch(63.17, 35.91, 296.49°)
OKLaboklab(68.86% 0.0277 -0.0891)
OKLCHoklch(68.86% 0.093 287.3)
XYZxyz(34.6713, 31.7895, 65.2696)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9792D2 #CDD292
analogous
#92ADD2 #9792D2 #B792D2
triadic
#9792D2 #D29792 #92D297
tetradic
#9792D2 #D292AD #CDD292 #92D2B7
square
#9792D2 #D292AD #CDD292 #92D2B7
split-complementary
#9792D2 #D2B792 #ADD292
monochromatic
#4C44A5 #6E67C0 #9792D2 #C0BDE4 #EAE9F6

Accessibility & contrast

On white

2.85
#9792D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9792D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9792D2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9792D2#FFFFFF#000000##000000
##9792D21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#809AD5
Deuteranopia (green-blind)
#8097D0
Tritanopia (blue-blind)
#899DA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9792d2;
/* rgb */ color: rgb(151, 146, 210);
/* oklch */ color: oklch(68.9% 0.093 287.3);
Tailwind
colors: {
  custom: {
    50: '#b7b2e0',
    500: '#9792d2',
    950: '#000000',
  },
}
SCSS
$custom: #9792d2;
$custom-light: #b7b2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9792d2",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 210
  },
  "hsl": {
    "h": 244.688,
    "s": 41.558,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68859,
    "c": 0.09331,
    "h": 287.3
  },
  "luminance": 0.3179
}

Semantic roles & 50–950 ramp

primary
#9792D2
secondary
#E8E9D7
accent
#B531AA
background
#FBFAFD
surface
#F6F5FB
border
#D0CFD4
text
#111015
muted
#807F83

Preview Lab

Preview with #9792D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9792D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva