#9782CC#9782CC

#9782CC is a light, moderate violet. Relative luminance 0.269; OKLCH L 65.5% C 0.110 H 296.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9782CC
RGBrgb(151, 130, 204)
HSLhsl(257, 42%, 65%)
HSVhsv(257, 36%, 80%)
CMYKcmyk(26%, 36.3%, 0%, 20%)
CIE-LABlab(58.89, 23.75, -35.44)
CIE-LCHlch(58.89, 42.66, 303.83°)
OKLaboklab(65.49% 0.0487 -0.0986)
OKLCHoklch(65.49% 0.11 296.3)
XYZxyz(31.6417, 26.9039, 60.6410)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782CC #B7CC82
analogous
#8292CC #9782CC #BC82CC
triadic
#9782CC #CC9782 #82CC97
tetradic
#9782CC #CC8292 #B7CC82 #82CCBC
square
#9782CC #CC8292 #B7CC82 #82CCBC
split-complementary
#9782CC #CCBC82 #92CC82
monochromatic
#573D96 #7357BA #9782CC #BBADDE #DFD9EF

Accessibility & contrast

On white

3.29
#9782CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9782CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782CC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782CC#FFFFFF#000000##000000
##9782CC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECF
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#8C8F9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9782cc;
/* rgb */ color: rgb(151, 130, 204);
/* oklch */ color: oklch(65.5% 0.110 296.3);
Tailwind
colors: {
  custom: {
    50: '#b7a6dc',
    500: '#9782cc',
    950: '#000000',
  },
}
SCSS
$custom: #9782cc;
$custom-light: #b7a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9782cc",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 257.027,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.10993,
    "h": 296.3
  },
  "luminance": 0.26904
}

Semantic roles & 50–950 ramp

primary
#9782CC
secondary
#DAE1C9
accent
#B5308F
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9782CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9782CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva