#9A61DD#9A61DD

#9A61DD is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.184 H 302.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9A61DD
RGBrgb(154, 97, 221)
HSLhsl(268, 65%, 62%)
HSVhsv(268, 56%, 87%)
CMYKcmyk(30.3%, 56.1%, 0%, 13.3%)
CIE-LABlab(52.55, 47.38, -55.04)
CIE-LCHlch(52.55, 72.63, 310.72°)
OKLaboklab(61.1% 0.099 -0.1555)
OKLCHoklch(61.1% 0.184 302.5)
XYZxyz(30.6493, 20.6398, 70.7618)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A61DD #A4DD61
analogous
#6166DD #9A61DD #D861DD
triadic
#9A61DD #DD9A61 #61DD9A
tetradic
#9A61DD #DD6166 #A4DD61 #61DDD8
square
#9A61DD #DD6166 #A4DD61 #61DDD8
split-complementary
#9A61DD #DDD861 #66DD61
monochromatic
#5D23A1 #7A2FD2 #9A61DD #BA93E8 #DAC6F3

Accessibility & contrast

On white

4.10
#9A61DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9A61DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A61DD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A61DD#FFFFFF#000000##000000
##9A61DD1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE1
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#8D7996
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a61dd;
/* rgb */ color: rgb(154, 97, 221);
/* oklch */ color: oklch(61.1% 0.184 302.5);
Tailwind
colors: {
  custom: {
    50: '#bb90e8',
    500: '#9a61dd',
    950: '#000000',
  },
}
SCSS
$custom: #9a61dd;
$custom-light: #bb90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a61dd",
  "rgb": {
    "r": 154,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 267.581,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.18436,
    "h": 302.5
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#9A61DD
secondary
#CFE4B6
accent
#CC197A
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A61DD

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

Preview Lab → · Contrast checker → · Palette generator →

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