#9782EA#9782EA

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

Color values

HEX#9782EA
RGBrgb(151, 130, 234)
HSLhsl(252, 71%, 71%)
HSVhsv(252, 44%, 92%)
CMYKcmyk(35.5%, 44.4%, 0%, 8.2%)
CIE-LABlab(60.32, 31.41, -49.96)
CIE-LCHlch(60.32, 59.02, 302.16°)
OKLaboklab(67.05% 0.0542 -0.1407)
OKLCHoklch(67.05% 0.151 291.1)
XYZxyz(35.5925, 28.4842, 81.4487)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782EA #D5EA82
analogous
#82A1EA #9782EA #CB82EA
triadic
#9782EA #EA9782 #82EA97
tetradic
#9782EA #EA82A1 #D5EA82 #82EACB
square
#9782EA #EA82A1 #D5EA82 #82EACB
split-complementary
#9782EA #EACB82 #A1EA82
monochromatic
#4623CF #6B4EE1 #9782EA #C3B6F3 #E9E5FB

Accessibility & contrast

On white

3.14
#9782EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#9782EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782EA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782EA#FFFFFF#000000##000000
##9782EA1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9782ea;
/* rgb */ color: rgb(151, 130, 234);
/* oklch */ color: oklch(67.1% 0.151 291.1);
Tailwind
colors: {
  custom: {
    50: '#b9a6f1',
    500: '#9782ea',
    950: '#000000',
  },
}
SCSS
$custom: #9782ea;
$custom-light: #b9a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9782ea",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 252.115,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67052,
    "c": 0.1508,
    "h": 291.1
  },
  "luminance": 0.28485
}

Semantic roles & 50–950 ramp

primary
#9782EA
secondary
#ECF1D6
accent
#D312AC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9782EA

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

Preview Lab → · Contrast checker → · Palette generator →

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