#9F80EB#9F80EB

#9F80EB is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.5% C 0.156 H 295.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F80EB
RGBrgb(159, 128, 235)
HSLhsl(257, 73%, 71%)
HSVhsv(257, 46%, 92%)
CMYKcmyk(32.3%, 45.5%, 0%, 7.8%)
CIE-LABlab(60.61, 34.89, -50.02)
CIE-LCHlch(60.61, 60.98, 304.90°)
OKLaboklab(67.45% 0.0664 -0.1407)
OKLCHoklch(67.45% 0.156 295.3)
XYZxyz(37.0089, 28.8068, 82.1916)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F80EB #CCEB80
analogous
#8096EB #9F80EB #D480EB
triadic
#9F80EB #EB9F80 #80EB9F
tetradic
#9F80EB #EB8096 #CCEB80 #80EBD4
square
#9F80EB #EB8096 #CCEB80 #80EBD4
split-complementary
#9F80EB #EBD480 #96EB80
monochromatic
#5321D0 #774BE3 #9F80EB #C7B5F3 #EBE5FB

Accessibility & contrast

On white

3.11
#9F80EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9F80EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F80EB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F80EB#FFFFFF#000000##000000
##9F80EB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#8E94AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f80eb;
/* rgb */ color: rgb(159, 128, 235);
/* oklch */ color: oklch(67.5% 0.156 295.3);
Tailwind
colors: {
  custom: {
    50: '#bea5f2',
    500: '#9f80eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f80eb;
$custom-light: #bea5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f80eb",
  "rgb": {
    "r": 159,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 257.383,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67454,
    "c": 0.15558,
    "h": 295.3
  },
  "luminance": 0.28807
}

Semantic roles & 50–950 ramp

primary
#9F80EB
secondary
#E9F1D5
accent
#D5119C
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9F80EB

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

Preview Lab → · Contrast checker → · Palette generator →

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