#9D82EF#9D82EF

#9D82EF is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.8% C 0.158 H 293.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9D82EF
RGBrgb(157, 130, 239)
HSLhsl(255, 77%, 72%)
HSVhsv(255, 46%, 94%)
CMYKcmyk(34.3%, 45.6%, 0%, 6.3%)
CIE-LABlab(61.10, 34.26, -51.46)
CIE-LCHlch(61.10, 61.83, 303.65°)
OKLaboklab(67.85% 0.0619 -0.145)
OKLCHoklch(67.85% 0.158 293.1)
XYZxyz(37.4632, 29.3646, 85.3388)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D82EF #D4EF82
analogous
#829EEF #9D82EF #D382EF
triadic
#9D82EF #EF9D82 #82EF9D
tetradic
#9D82EF #EF829E #D4EF82 #82EFD3
square
#9D82EF #EF829E #D4EF82 #82EFD3
split-complementary
#9D82EF #EFD382 #9EEF82
monochromatic
#4B1CDB #724CE8 #9D82EF #C8B8F6 #EAE4FC

Accessibility & contrast

On white

3.06
#9D82EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9D82EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D82EF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D82EF#FFFFFF#000000##000000
##9D82EF1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#8997AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d82ef;
/* rgb */ color: rgb(157, 130, 239);
/* oklch */ color: oklch(67.8% 0.158 293.1);
Tailwind
colors: {
  custom: {
    50: '#bda6f5',
    500: '#9d82ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d82ef;
$custom-light: #bda6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d82ef",
  "rgb": {
    "r": 157,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 254.862,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67848,
    "c": 0.15765,
    "h": 293.1
  },
  "luminance": 0.29365
}

Semantic roles & 50–950 ramp

primary
#9D82EF
secondary
#ECF3D8
accent
#DA0CA7
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9D82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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