#9A61BA#9A61BA

#9A61BA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.143 H 312.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9A61BA
RGBrgb(154, 97, 186)
HSLhsl(278, 39%, 55%)
HSVhsv(278, 48%, 73%)
CMYKcmyk(17.2%, 47.8%, 0%, 27.1%)
CIE-LABlab(50.65, 39.22, -38.06)
CIE-LCHlch(50.65, 54.65, 315.86°)
OKLaboklab(59.07% 0.0963 -0.1059)
OKLCHoklch(59.07% 0.143 312.3)
XYZxyz(26.4625, 18.9651, 48.7115)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A61BA #81BA61
analogous
#6D61BA #9A61BA #BA61AD
triadic
#9A61BA #BA9A61 #61BA9A
tetradic
#9A61BA #BA6D61 #81BA61 #61ADBA
square
#9A61BA #BA6D61 #81BA61 #61ADBA
split-complementary
#9A61BA #ADBA61 #61BA6D
monochromatic
#593170 #7B439A #9A61BA #B58CCD #D0B6DF

Accessibility & contrast

On white

4.38
#9A61BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9A61BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A61BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A61BA#FFFFFF#000000##000000
##9A61BA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BD
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#976F85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a61ba;
/* rgb */ color: rgb(154, 97, 186);
/* oklch */ color: oklch(59.1% 0.143 312.3);
Tailwind
colors: {
  custom: {
    50: '#b98fcf',
    500: '#9a61ba',
    950: '#000000',
  },
}
SCSS
$custom: #9a61ba;
$custom-light: #b98fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a61ba",
  "rgb": {
    "r": 154,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 278.427,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.14318,
    "h": 312.3
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#9A61BA
secondary
#B6CEA9
accent
#CF5983
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9A61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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