#9782CD#9782CD

#9782CD is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.5% C 0.111 H 296.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9782CD
RGBrgb(151, 130, 205)
HSLhsl(257, 43%, 66%)
HSVhsv(257, 37%, 80%)
CMYKcmyk(26.3%, 36.6%, 0%, 19.6%)
CIE-LABlab(58.93, 24.00, -35.93)
CIE-LCHlch(58.93, 43.21, 303.74°)
OKLaboklab(65.54% 0.0489 -0.1)
OKLCHoklch(65.54% 0.111 296.1)
XYZxyz(31.7620, 26.9520, 61.2747)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782CD #B8CD82
analogous
#8292CD #9782CD #BC82CD
triadic
#9782CD #CD9782 #82CD97
tetradic
#9782CD #CD8292 #B8CD82 #82CDBC
square
#9782CD #CD8292 #B8CD82 #82CDBC
split-complementary
#9782CD #CDBC82 #92CD82
monochromatic
#563D98 #7356BC #9782CD #BBAEDE #E0D9F0

Accessibility & contrast

On white

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

On black

6.39
#9782CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782CD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782CD#FFFFFF#000000##000000
##9782CD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9782cd;
/* rgb */ color: rgb(151, 130, 205);
/* oklch */ color: oklch(65.5% 0.111 296.1);
Tailwind
colors: {
  custom: {
    50: '#b7a6dc',
    500: '#9782cd',
    950: '#000000',
  },
}
SCSS
$custom: #9782cd;
$custom-light: #b7a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9782cd",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 256.8,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65539,
    "c": 0.1113,
    "h": 296.1
  },
  "luminance": 0.26952
}

Semantic roles & 50–950 ramp

primary
#9782CD
secondary
#DBE2C9
accent
#B63090
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9782CD

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

Preview Lab → · Contrast checker → · Palette generator →

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