#9782CE#9782CE

#9782CE is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.6% C 0.113 H 295.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9782CE
RGBrgb(151, 130, 206)
HSLhsl(257, 44%, 66%)
HSVhsv(257, 37%, 81%)
CMYKcmyk(26.7%, 36.9%, 0%, 19.2%)
CIE-LABlab(58.97, 24.24, -36.43)
CIE-LCHlch(58.97, 43.76, 303.65°)
OKLaboklab(65.59% 0.0491 -0.1014)
OKLCHoklch(65.59% 0.113 295.8)
XYZxyz(31.8831, 27.0005, 61.9124)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782CE #B9CE82
analogous
#8293CE #9782CE #BD82CE
triadic
#9782CE #CE9782 #82CE97
tetradic
#9782CE #CE8293 #B9CE82 #82CEBD
square
#9782CE #CE8293 #B9CE82 #82CEBD
split-complementary
#9782CE #CEBD82 #93CE82
monochromatic
#563C99 #7256BD #9782CE #BCAEDF #E0DAF0

Accessibility & contrast

On white

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

On black

6.40
#9782CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782CE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782CE#FFFFFF#000000##000000
##9782CE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED1
Deuteranopia (green-blind)
#718DCC
Tritanopia (blue-blind)
#8C8F9E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9782ce;
/* rgb */ color: rgb(151, 130, 206);
/* oklch */ color: oklch(65.6% 0.113 295.8);
Tailwind
colors: {
  custom: {
    50: '#b7a6dd',
    500: '#9782ce',
    950: '#000000',
  },
}
SCSS
$custom: #9782ce;
$custom-light: #b7a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9782ce",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 256.579,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65588,
    "c": 0.11268,
    "h": 295.8
  },
  "luminance": 0.27001
}

Semantic roles & 50–950 ramp

primary
#9782CE
secondary
#DCE2C9
accent
#B72F91
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9782CE

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

Preview Lab → · Contrast checker → · Palette generator →

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