#9A61DE#9A61DE

#9A61DE is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.186 H 302.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9A61DE
RGBrgb(154, 97, 222)
HSLhsl(267, 65%, 63%)
HSVhsv(267, 56%, 87%)
CMYKcmyk(30.6%, 56.3%, 0%, 12.9%)
CIE-LABlab(52.61, 47.63, -55.51)
CIE-LCHlch(52.61, 73.14, 310.63°)
OKLaboklab(61.16% 0.0991 -0.1569)
OKLCHoklch(61.16% 0.186 302.3)
XYZxyz(30.7829, 20.6933, 71.4655)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A61DE #A5DE61
analogous
#6166DE #9A61DE #D861DE
triadic
#9A61DE #DE9A61 #61DE9A
tetradic
#9A61DE #DE6166 #A5DE61 #61DED8
square
#9A61DE #DE6166 #A5DE61 #61DED8
split-complementary
#9A61DE #DED861 #66DE61
monochromatic
#5D22A3 #7A2ED3 #9A61DE #BA94E9 #DBC6F3

Accessibility & contrast

On white

4.09
#9A61DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9A61DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A61DE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A61DE#FFFFFF#000000##000000
##9A61DE1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7DE2
Deuteranopia (green-blind)
#427DDB
Tritanopia (blue-blind)
#8D7A96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a61de;
/* rgb */ color: rgb(154, 97, 222);
/* oklch */ color: oklch(61.2% 0.186 302.3);
Tailwind
colors: {
  custom: {
    50: '#bb90e9',
    500: '#9a61de',
    950: '#000000',
  },
}
SCSS
$custom: #9a61de;
$custom-light: #bb90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a61de",
  "rgb": {
    "r": 154,
    "g": 97,
    "b": 222
  },
  "hsl": {
    "h": 267.36,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.18554,
    "h": 302.3
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#9A61DE
secondary
#CFE4B7
accent
#CD187B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A61DE

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

Preview Lab → · Contrast checker → · Palette generator →

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