#9F82E5#9F82E5

#9F82E5 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.5% C 0.145 H 295.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F82E5
RGBrgb(159, 130, 229)
HSLhsl(258, 66%, 70%)
HSVhsv(258, 43%, 90%)
CMYKcmyk(30.6%, 43.2%, 0%, 10.2%)
CIE-LABlab(60.78, 32.24, -46.42)
CIE-LCHlch(60.78, 56.52, 304.78°)
OKLaboklab(67.48% 0.0629 -0.1302)
OKLCHoklch(67.48% 0.145 295.8)
XYZxyz(36.4201, 28.9928, 77.7909)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F82E5 #C8E582
analogous
#8296E5 #9F82E5 #D182E5
triadic
#9F82E5 #E59F82 #82E59F
tetradic
#9F82E5 #E58296 #C8E582 #82E5D1
square
#9F82E5 #E58296 #C8E582 #82E5D1
split-complementary
#9F82E5 #E5D182 #96E582
monochromatic
#5629C4 #784FDA #9F82E5 #C6B5F0 #ECE6FA

Accessibility & contrast

On white

3.09
#9F82E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9F82E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F82E5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F82E5#FFFFFF#000000##000000
##9F82E51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E9
Deuteranopia (green-blind)
#6991E3
Tritanopia (blue-blind)
#9094A8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f82e5;
/* rgb */ color: rgb(159, 130, 229);
/* oklch */ color: oklch(67.5% 0.145 295.8);
Tailwind
colors: {
  custom: {
    50: '#bea6ed',
    500: '#9f82e5',
    950: '#000000',
  },
}
SCSS
$custom: #9f82e5;
$custom-light: #bea6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f82e5",
  "rgb": {
    "r": 159,
    "g": 130,
    "b": 229
  },
  "hsl": {
    "h": 257.576,
    "s": 65.563,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6748,
    "c": 0.14461,
    "h": 295.8
  },
  "luminance": 0.28993
}

Semantic roles & 50–950 ramp

primary
#9F82E5
secondary
#E7EFD4
accent
#CD1898
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9F82E5

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

Preview Lab → · Contrast checker → · Palette generator →

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