#9782F2#9782F2

#9782F2 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.5% C 0.161 H 290.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9782F2
RGBrgb(151, 130, 242)
HSLhsl(251, 81%, 73%)
HSVhsv(251, 46%, 95%)
CMYKcmyk(37.6%, 46.3%, 0%, 5.1%)
CIE-LABlab(60.74, 33.54, -53.73)
CIE-LCHlch(60.74, 63.34, 301.97°)
OKLaboklab(67.5% 0.0552 -0.1517)
OKLCHoklch(67.5% 0.161 290)
XYZxyz(36.7678, 28.9543, 87.6387)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782F2 #DDF282
analogous
#82A5F2 #9782F2 #CF82F2
triadic
#9782F2 #F29782 #82F297
tetradic
#9782F2 #F282A5 #DDF282 #82F2CF
square
#9782F2 #F282A5 #DDF282 #82F2CF
split-complementary
#9782F2 #F2CF82 #A5F282
monochromatic
#3D18E2 #694BEC #9782F2 #C5B9F8 #E8E3FC

Accessibility & contrast

On white

3.09
#9782F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9782F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782F2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782F2#FFFFFF#000000##000000
##9782F21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#7F98AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9782f2;
/* rgb */ color: rgb(151, 130, 242);
/* oklch */ color: oklch(67.5% 0.161 290.0);
Tailwind
colors: {
  custom: {
    50: '#b9a6f7',
    500: '#9782f2',
    950: '#000000',
  },
}
SCSS
$custom: #9782f2;
$custom-light: #b9a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9782f2",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 251.25,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67503,
    "c": 0.16148,
    "h": 290
  },
  "luminance": 0.28955
}

Semantic roles & 50–950 ramp

primary
#9782F2
secondary
#EFF4D7
accent
#DE08B5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9782F2

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

Preview Lab → · Contrast checker → · Palette generator →

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