#9782DB#9782DB

#9782DB is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.2% C 0.131 H 293.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9782DB
RGBrgb(151, 130, 219)
HSLhsl(254, 55%, 68%)
HSVhsv(254, 41%, 86%)
CMYKcmyk(31.1%, 40.6%, 0%, 14.1%)
CIE-LABlab(59.58, 27.52, -42.78)
CIE-LCHlch(59.58, 50.86, 302.75°)
OKLaboklab(66.25% 0.0518 -0.1198)
OKLCHoklch(66.25% 0.131 293.4)
XYZxyz(33.5281, 27.6585, 70.5763)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782DB #C6DB82
analogous
#8299DB #9782DB #C382DB
triadic
#9782DB #DB9782 #82DB97
tetradic
#9782DB #DB8299 #C6DB82 #82DBC3
square
#9782DB #DB8299 #C6DB82 #82DBC3
split-complementary
#9782DB #DBC382 #99DB82
monochromatic
#5033B0 #6F52CD #9782DB #BFB2E9 #E6E1F6

Accessibility & contrast

On white

3.22
#9782DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9782DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782DB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782DB#FFFFFF#000000##000000
##9782DB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791DE
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#8892A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9782db;
/* rgb */ color: rgb(151, 130, 219);
/* oklch */ color: oklch(66.2% 0.131 293.4);
Tailwind
colors: {
  custom: {
    50: '#b8a6e6',
    500: '#9782db',
    950: '#000000',
  },
}
SCSS
$custom: #9782db;
$custom-light: #b8a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9782db",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 254.157,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66246,
    "c": 0.1305,
    "h": 293.4
  },
  "luminance": 0.27659
}

Semantic roles & 50–950 ramp

primary
#9782DB
secondary
#E3EACF
accent
#C3239D
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9782DB

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

Preview Lab → · Contrast checker → · Palette generator →

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