#9580EC#9580EC

#9580EC is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.6% C 0.156 H 290.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9580EC
RGBrgb(149, 128, 236)
HSLhsl(252, 74%, 71%)
HSVhsv(252, 46%, 93%)
CMYKcmyk(36.9%, 45.8%, 0%, 7.5%)
CIE-LABlab(59.78, 32.58, -51.94)
CIE-LCHlch(59.78, 61.31, 302.10°)
OKLaboklab(66.64% 0.0547 -0.1466)
OKLCHoklch(66.64% 0.156 290.4)
XYZxyz(35.2499, 27.8831, 82.8654)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9580EC #D7EC80
analogous
#80A1EC #9580EC #CB80EC
triadic
#9580EC #EC9580 #80EC95
tetradic
#9580EC #EC80A1 #D7EC80 #80ECCB
square
#9580EC #EC80A1 #D7EC80 #80ECCB
split-complementary
#9580EC #ECCB80 #A1EC80
monochromatic
#421FD2 #694BE4 #9580EC #C1B5F4 #E9E4FB

Accessibility & contrast

On white

3.19
#9580EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9580EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9580EC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9580EC#FFFFFF#000000##000000
##9580EC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#5B8EE9
Tritanopia (blue-blind)
#7F95AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9580ec;
/* rgb */ color: rgb(149, 128, 236);
/* oklch */ color: oklch(66.6% 0.156 290.4);
Tailwind
colors: {
  custom: {
    50: '#b8a5f3',
    500: '#9580ec',
    950: '#000000',
  },
}
SCSS
$custom: #9580ec;
$custom-light: #b8a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9580ec",
  "rgb": {
    "r": 149,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 251.667,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66637,
    "c": 0.15642,
    "h": 290.4
  },
  "luminance": 0.27884
}

Semantic roles & 50–950 ramp

primary
#9580EC
secondary
#ECF2D6
accent
#D60FAF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9580EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9580EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva