#9161ED#9161ED

#9161ED is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.202 H 295.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9161ED
RGBrgb(145, 97, 237)
HSLhsl(261, 80%, 65%)
HSVhsv(261, 59%, 93%)
CMYKcmyk(38.8%, 59.1%, 0%, 7.1%)
CIE-LABlab(52.60, 49.34, -64.02)
CIE-LCHlch(52.60, 80.83, 307.62°)
OKLaboklab(61.23% 0.0874 -0.1821)
OKLCHoklch(61.23% 0.202 295.6)
XYZxyz(31.2338, 20.6829, 82.4509)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161ED #BDED61
analogous
#6177ED #9161ED #D761ED
triadic
#9161ED #ED9161 #61ED91
tetradic
#9161ED #ED6177 #BDED61 #61EDD7
square
#9161ED #ED6177 #BDED61 #61EDD7
split-complementary
#9161ED #EDD761 #77ED61
monochromatic
#4F16BE #6B2AE7 #9161ED #B798F3 #DDCFFA

Accessibility & contrast

On white

4.09
#9161ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9161ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161ED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161ED#FFFFFF#000000##000000
##9161ED1.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)
#007FF2
Deuteranopia (green-blind)
#1F7CEA
Tritanopia (blue-blind)
#7A809E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9161ed;
/* rgb */ color: rgb(145, 97, 237);
/* oklch */ color: oklch(61.2% 0.202 295.6);
Tailwind
colors: {
  custom: {
    50: '#b790f4',
    500: '#9161ed',
    950: '#000000',
  },
}
SCSS
$custom: #9161ed;
$custom-light: #b790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9161ed",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 260.571,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.20203,
    "h": 295.6
  },
  "luminance": 0.20684
}

Semantic roles & 50–950 ramp

primary
#9161ED
secondary
#DCECBD
accent
#DC0A94
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161ED

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

Preview Lab → · Contrast checker → · Palette generator →

#9161ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva