#9B82F7#9B82F7

#9B82F7 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.1% C 0.168 H 291.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9B82F7
RGBrgb(155, 130, 247)
HSLhsl(253, 88%, 74%)
HSVhsv(253, 47%, 97%)
CMYKcmyk(37.2%, 47.4%, 0%, 3.1%)
CIE-LABlab(61.35, 35.86, -55.50)
CIE-LCHlch(61.35, 66.07, 302.86°)
OKLaboklab(68.13% 0.0605 -0.1568)
OKLCHoklch(68.13% 0.168 291.1)
XYZxyz(38.2842, 29.6482, 91.6832)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B82F7 #DEF782
analogous
#82A4F7 #9B82F7 #D682F7
triadic
#9B82F7 #F79B82 #82F79B
tetradic
#9B82F7 #F782A4 #DEF782 #82F7D6
square
#9B82F7 #F782A4 #DEF782 #82F7D6
split-complementary
#9B82F7 #F7D682 #A4F782
monochromatic
#3F0FEF #6D48F3 #9B82F7 #C9BCFB #E8E2FD

Accessibility & contrast

On white

3.03
#9B82F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9B82F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B82F7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B82F7#FFFFFF#000000##000000
##9B82F71.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#5992F4
Tritanopia (blue-blind)
#8399B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b82f7;
/* rgb */ color: rgb(155, 130, 247);
/* oklch */ color: oklch(68.1% 0.168 291.1);
Tailwind
colors: {
  custom: {
    50: '#bca6fa',
    500: '#9b82f7',
    950: '#000000',
  },
}
SCSS
$custom: #9b82f7;
$custom-light: #bca6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b82f7",
  "rgb": {
    "r": 155,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 252.821,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68129,
    "c": 0.16809,
    "h": 291.1
  },
  "luminance": 0.29649
}

Semantic roles & 50–950 ramp

primary
#9B82F7
secondary
#EEF5D6
accent
#E501B4
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B82F7

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

Preview Lab → · Contrast checker → · Palette generator →

#9B82F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva