#9782ED#9782ED

#9782ED is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.2% C 0.155 H 290.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9782ED
RGBrgb(151, 130, 237)
HSLhsl(252, 75%, 72%)
HSVhsv(252, 45%, 93%)
CMYKcmyk(36.3%, 45.1%, 0%, 7.1%)
CIE-LABlab(60.48, 32.20, -51.38)
CIE-LCHlch(60.48, 60.64, 302.08°)
OKLaboklab(67.22% 0.0546 -0.1449)
OKLCHoklch(67.22% 0.155 290.6)
XYZxyz(36.0271, 28.6581, 83.7377)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782ED #D8ED82
analogous
#82A3ED #9782ED #CD82ED
triadic
#9782ED #ED9782 #82ED97
tetradic
#9782ED #ED82A3 #D8ED82 #82EDCD
square
#9782ED #ED82A3 #D8ED82 #82EDCD
split-complementary
#9782ED #EDCD82 #A3ED82
monochromatic
#431FD6 #6A4DE5 #9782ED #C4B7F5 #E9E4FB

Accessibility & contrast

On white

3.12
#9782ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9782ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782ED
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782ED#FFFFFF#000000##000000
##9782ED1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#5E90EA
Tritanopia (blue-blind)
#8197AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9782ed;
/* rgb */ color: rgb(151, 130, 237);
/* oklch */ color: oklch(67.2% 0.155 290.6);
Tailwind
colors: {
  custom: {
    50: '#b9a6f3',
    500: '#9782ed',
    950: '#000000',
  },
}
SCSS
$custom: #9782ed;
$custom-light: #b9a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9782ed",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 251.776,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67219,
    "c": 0.15481,
    "h": 290.6
  },
  "luminance": 0.28659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9782ED

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

Preview Lab → · Contrast checker → · Palette generator →

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