#9782CB#9782CB

#9782CB is a light, moderate violet. Relative luminance 0.269; OKLCH L 65.4% C 0.109 H 296.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9782CB
RGBrgb(151, 130, 203)
HSLhsl(257, 41%, 65%)
HSVhsv(257, 36%, 80%)
CMYKcmyk(25.6%, 36%, 0%, 20.4%)
CIE-LABlab(58.84, 23.51, -34.94)
CIE-LCHlch(58.84, 42.11, 303.93°)
OKLaboklab(65.44% 0.0485 -0.0971)
OKLCHoklch(65.44% 0.109 296.5)
XYZxyz(31.5221, 26.8561, 60.0114)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782CB #B6CB82
analogous
#8291CB #9782CB #BB82CB
triadic
#9782CB #CB9782 #82CB97
tetradic
#9782CB #CB8291 #B6CB82 #82CBBB
square
#9782CB #CB8291 #B6CB82 #82CBBB
split-complementary
#9782CB #CBBB82 #91CB82
monochromatic
#573E95 #7357B9 #9782CB #BBADDD #DFD8EF

Accessibility & contrast

On white

3.30
#9782CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9782CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782CB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782CB#FFFFFF#000000##000000
##9782CB1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECE
Deuteranopia (green-blind)
#728DC9
Tritanopia (blue-blind)
#8D8E9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9782cb;
/* rgb */ color: rgb(151, 130, 203);
/* oklch */ color: oklch(65.4% 0.109 296.5);
Tailwind
colors: {
  custom: {
    50: '#b7a6db',
    500: '#9782cb',
    950: '#000000',
  },
}
SCSS
$custom: #9782cb;
$custom-light: #b7a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#9782cb",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 257.26,
    "s": 41.243,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65442,
    "c": 0.10855,
    "h": 296.5
  },
  "luminance": 0.26856
}

Semantic roles & 50–950 ramp

primary
#9782CB
secondary
#DAE1C8
accent
#B4318F
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9782CB

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

Preview Lab → · Contrast checker → · Palette generator →

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