#9782CF#9782CF

#9782CF is a light, moderate violet. Relative luminance 0.271; OKLCH L 65.6% C 0.114 H 295.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9782CF
RGBrgb(151, 130, 207)
HSLhsl(256, 45%, 66%)
HSVhsv(256, 37%, 81%)
CMYKcmyk(27.1%, 37.2%, 0%, 18.8%)
CIE-LABlab(59.02, 24.49, -36.92)
CIE-LCHlch(59.02, 44.30, 303.56°)
OKLaboklab(65.64% 0.0494 -0.1028)
OKLCHoklch(65.64% 0.114 295.6)
XYZxyz(32.0049, 27.0492, 62.5542)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782CF #BACF82
analogous
#8293CF #9782CF #BD82CF
triadic
#9782CF #CF9782 #82CF97
tetradic
#9782CF #CF8293 #BACF82 #82CFBD
square
#9782CF #CF8293 #BACF82 #82CFBD
split-complementary
#9782CF #CFBD82 #93CF82
monochromatic
#563C9B #7256BE #9782CF #BCAEE0 #E1DAF1

Accessibility & contrast

On white

3.28
#9782CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9782CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782CF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782CF#FFFFFF#000000##000000
##9782CF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8FD2
Deuteranopia (green-blind)
#708DCD
Tritanopia (blue-blind)
#8B8F9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9782cf;
/* rgb */ color: rgb(151, 130, 207);
/* oklch */ color: oklch(65.6% 0.114 295.6);
Tailwind
colors: {
  custom: {
    50: '#b7a6de',
    500: '#9782cf',
    950: '#000000',
  },
}
SCSS
$custom: #9782cf;
$custom-light: #b7a6de;
$custom-dark: #000000;
JSON
{
  "hex": "#9782cf",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 256.364,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65637,
    "c": 0.11406,
    "h": 295.6
  },
  "luminance": 0.2705
}

Semantic roles & 50–950 ramp

primary
#9782CF
secondary
#DCE3CA
accent
#B82E92
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9782CF

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

Preview Lab → · Contrast checker → · Palette generator →

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