#9A61EB#9A61EB

#9A61EB is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.201 H 299.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9A61EB
RGBrgb(154, 97, 235)
HSLhsl(265, 78%, 65%)
HSVhsv(265, 59%, 92%)
CMYKcmyk(34.5%, 58.7%, 0%, 7.8%)
CIE-LABlab(53.40, 50.82, -61.56)
CIE-LCHlch(53.40, 79.82, 309.54°)
OKLaboklab(61.99% 0.099 -0.1746)
OKLCHoklch(61.99% 0.201 299.6)
XYZxyz(32.5929, 21.4173, 80.9980)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A61EB #B2EB61
analogous
#616DEB #9A61EB #DF61EB
triadic
#9A61EB #EB9A61 #61EB9A
tetradic
#9A61EB #EB616D #B2EB61 #61EBDF
square
#9A61EB #EB616D #B2EB61 #61EBDF
split-complementary
#9A61EB #EBDF61 #6DEB61
monochromatic
#5B18BA #772BE4 #9A61EB #BD97F2 #DFCEF9

Accessibility & contrast

On white

3.97
#9A61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9A61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A61EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A61EB#FFFFFF#000000##000000
##9A61EB1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7FEF
Deuteranopia (green-blind)
#327EE8
Tritanopia (blue-blind)
#887E9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9a61eb;
/* rgb */ color: rgb(154, 97, 235);
/* oklch */ color: oklch(62.0% 0.201 299.6);
Tailwind
colors: {
  custom: {
    50: '#bc90f2',
    500: '#9a61eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a61eb;
$custom-light: #bc90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a61eb",
  "rgb": {
    "r": 154,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 264.783,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.20075,
    "h": 299.6
  },
  "luminance": 0.21418
}

Semantic roles & 50–950 ramp

primary
#9A61EB
secondary
#D8EBBD
accent
#DA0C85
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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