#9782DD#9782DD

#9782DD is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.3% C 0.133 H 293.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9782DD
RGBrgb(151, 130, 221)
HSLhsl(254, 57%, 69%)
HSVhsv(254, 41%, 87%)
CMYKcmyk(31.7%, 41.2%, 0%, 13.3%)
CIE-LABlab(59.68, 28.03, -43.74)
CIE-LCHlch(59.68, 51.95, 302.65°)
OKLaboklab(66.35% 0.0521 -0.1226)
OKLCHoklch(66.35% 0.133 293)
XYZxyz(33.7930, 27.7644, 71.9712)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782DD #C8DD82
analogous
#829BDD #9782DD #C582DD
triadic
#9782DD #DD9782 #82DD97
tetradic
#9782DD #DD829B #C8DD82 #82DDC5
square
#9782DD #DD829B #C8DD82 #82DDC5
split-complementary
#9782DD #DDC582 #9BDD82
monochromatic
#4F31B4 #6F52D0 #9782DD #BFB2EA #E7E2F7

Accessibility & contrast

On white

3.20
#9782DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9782DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782DD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782DD#FFFFFF#000000##000000
##9782DD1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E0
Deuteranopia (green-blind)
#698EDB
Tritanopia (blue-blind)
#8793A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9782dd;
/* rgb */ color: rgb(151, 130, 221);
/* oklch */ color: oklch(66.3% 0.133 293.0);
Tailwind
colors: {
  custom: {
    50: '#b8a6e8',
    500: '#9782dd',
    950: '#000000',
  },
}
SCSS
$custom: #9782dd;
$custom-light: #b8a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9782dd",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 253.846,
    "s": 57.233,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6635,
    "c": 0.13322,
    "h": 293
  },
  "luminance": 0.27765
}

Semantic roles & 50–950 ramp

primary
#9782DD
secondary
#E5EBD0
accent
#C5219F
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9782DD

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

Preview Lab → · Contrast checker → · Palette generator →

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