#9782FA#9782FA

#9782FA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.172 H 289.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9782FA
RGBrgb(151, 130, 250)
HSLhsl(251, 92%, 75%)
HSVhsv(251, 48%, 98%)
CMYKcmyk(39.6%, 48%, 0%, 2%)
CIE-LABlab(61.17, 35.69, -57.45)
CIE-LCHlch(61.17, 67.63, 301.85°)
OKLaboklab(67.97% 0.0561 -0.1626)
OKLCHoklch(67.97% 0.172 289)
XYZxyz(37.9957, 29.4455, 94.1056)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782FA #E5FA82
analogous
#82A9FA #9782FA #D382FA
triadic
#9782FA #FA9782 #82FA97
tetradic
#9782FA #FA82A9 #E5FA82 #82FAD3
square
#9782FA #FA82A9 #E5FA82 #82FAD3
split-complementary
#9782FA #FAD382 #A9FA82
monochromatic
#350CF5 #6647F8 #9782FA #C8BDFC #E7E2FE

Accessibility & contrast

On white

3.05
#9782FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9782FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782FA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782FA#FFFFFF#000000##000000
##9782FA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#7C9AB2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9782fa;
/* rgb */ color: rgb(151, 130, 250);
/* oklch */ color: oklch(68.0% 0.172 289.0);
Tailwind
colors: {
  custom: {
    50: '#baa6fc',
    500: '#9782fa',
    950: '#000000',
  },
}
SCSS
$custom: #9782fa;
$custom-light: #baa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9782fa",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 250.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67967,
    "c": 0.17205,
    "h": 289
  },
  "luminance": 0.29447
}

Semantic roles & 50–950 ramp

primary
#9782FA
secondary
#F0F6D5
accent
#E600BD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9782FA

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

Preview Lab → · Contrast checker → · Palette generator →

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