#9782EB#9782EB

#9782EB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.1% C 0.152 H 290.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9782EB
RGBrgb(151, 130, 235)
HSLhsl(252, 72%, 72%)
HSVhsv(252, 45%, 92%)
CMYKcmyk(35.7%, 44.7%, 0%, 7.8%)
CIE-LABlab(60.38, 31.68, -50.43)
CIE-LCHlch(60.38, 59.56, 302.13°)
OKLaboklab(67.11% 0.0543 -0.1421)
OKLCHoklch(67.11% 0.152 290.9)
XYZxyz(35.7365, 28.5418, 82.2074)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782EB #D6EB82
analogous
#82A2EB #9782EB #CC82EB
triadic
#9782EB #EB9782 #82EB97
tetradic
#9782EB #EB82A2 #D6EB82 #82EBCC
square
#9782EB #EB82A2 #D6EB82 #82EBCC
split-complementary
#9782EB #EBCC82 #A2EB82
monochromatic
#4521D1 #6B4DE3 #9782EB #C3B7F3 #E9E5FB

Accessibility & contrast

On white

3.13
#9782EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9782EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782EB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782EB#FFFFFF#000000##000000
##9782EB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#8296AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9782eb;
/* rgb */ color: rgb(151, 130, 235);
/* oklch */ color: oklch(67.1% 0.152 290.9);
Tailwind
colors: {
  custom: {
    50: '#b9a6f2',
    500: '#9782eb',
    950: '#000000',
  },
}
SCSS
$custom: #9782eb;
$custom-light: #b9a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9782eb",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 252,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67108,
    "c": 0.15214,
    "h": 290.9
  },
  "luminance": 0.28543
}

Semantic roles & 50–950 ramp

primary
#9782EB
secondary
#ECF2D7
accent
#D411AD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9782EB

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

Preview Lab → · Contrast checker → · Palette generator →

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