#9782EE#9782EE

#9782EE is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.3% C 0.156 H 290.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9782EE
RGBrgb(151, 130, 238)
HSLhsl(252, 76%, 72%)
HSVhsv(252, 45%, 93%)
CMYKcmyk(36.6%, 45.4%, 0%, 6.7%)
CIE-LABlab(60.53, 32.47, -51.85)
CIE-LCHlch(60.53, 61.18, 302.06°)
OKLaboklab(67.28% 0.0547 -0.1462)
OKLCHoklch(67.28% 0.156 290.5)
XYZxyz(36.1736, 28.7167, 84.5093)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782EE #D9EE82
analogous
#82A3EE #9782EE #CD82EE
triadic
#9782EE #EE9782 #82EE97
tetradic
#9782EE #EE82A3 #D9EE82 #82EECD
square
#9782EE #EE82A3 #D9EE82 #82EECD
split-complementary
#9782EE #EECD82 #A3EE82
monochromatic
#421DD8 #6A4CE7 #9782EE #C4B8F5 #E9E4FB

Accessibility & contrast

On white

3.11
#9782EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9782EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782EE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782EE#FFFFFF#000000##000000
##9782EE1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F2
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#8197AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9782ee;
/* rgb */ color: rgb(151, 130, 238);
/* oklch */ color: oklch(67.3% 0.156 290.5);
Tailwind
colors: {
  custom: {
    50: '#b9a6f4',
    500: '#9782ee',
    950: '#000000',
  },
}
SCSS
$custom: #9782ee;
$custom-light: #b9a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9782ee",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 251.667,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.15615,
    "h": 290.5
  },
  "luminance": 0.28718
}

Semantic roles & 50–950 ramp

primary
#9782EE
secondary
#EEF3D8
accent
#D80DB1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9782EE

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

Preview Lab → · Contrast checker → · Palette generator →

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