#9782EF#9782EF

#9782EF is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.3% C 0.157 H 290.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9782EF
RGBrgb(151, 130, 239)
HSLhsl(252, 77%, 72%)
HSVhsv(252, 46%, 94%)
CMYKcmyk(36.8%, 45.6%, 0%, 6.3%)
CIE-LABlab(60.58, 32.74, -52.32)
CIE-LCHlch(60.58, 61.72, 302.03°)
OKLaboklab(67.33% 0.0549 -0.1476)
OKLCHoklch(67.33% 0.157 290.4)
XYZxyz(36.3209, 28.7756, 85.2852)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782EF #DAEF82
analogous
#82A3EF #9782EF #CE82EF
triadic
#9782EF #EF9782 #82EF97
tetradic
#9782EF #EF82A3 #DAEF82 #82EFCE
square
#9782EF #EF82A3 #DAEF82 #82EFCE
split-complementary
#9782EF #EFCE82 #A3EF82
monochromatic
#411CDB #6A4CE8 #9782EF #C4B8F6 #E8E4FC

Accessibility & contrast

On white

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

On black

6.76
#9782EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782EF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782EF#FFFFFF#000000##000000
##9782EF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#8097AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9782ef;
/* rgb */ color: rgb(151, 130, 239);
/* oklch */ color: oklch(67.3% 0.157 290.4);
Tailwind
colors: {
  custom: {
    50: '#b9a6f5',
    500: '#9782ef',
    950: '#000000',
  },
}
SCSS
$custom: #9782ef;
$custom-light: #b9a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9782ef",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 251.56,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.15748,
    "h": 290.4
  },
  "luminance": 0.28777
}

Semantic roles & 50–950 ramp

primary
#9782EF
secondary
#EEF3D8
accent
#DA0CB2
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9782EF

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

Preview Lab → · Contrast checker → · Palette generator →

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